|
|
@@ -710,10 +710,11 @@ type Thjpurchasetradedetail struct {
|
|
|
|
|
|
PRESALESTATUS int32 `json:"presalestatus" xorm:"PRESALESTATUS"` // 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
|
|
|
|
|
|
- AVAILABLETIME int32 `json:"availabletime" xorm:"AVAILABLETIME"` // 可用次数
|
|
|
- POINTPRICE float64 `json:"pointprice" xorm:"POINTPRICE"` // 已点价格
|
|
|
- POINTFLAG bool `json:"pointflag" xorm:"POINTFLAG"` // 是否已点价
|
|
|
- POINTINCOME float64 `json:"pointincome" xorm:"POINTINCOME"` // 点价总收益
|
|
|
+ FIRSTBUYUSERID int64 `json:"firstbuyuserid" xorm:"FIRSTBUYUSERID"` // 买方用户ID(预售摘牌人)
|
|
|
+ AVAILABLETIME int32 `json:"availabletime" xorm:"AVAILABLETIME"` // 可用次数
|
|
|
+ POINTPRICE float64 `json:"pointprice" xorm:"POINTPRICE"` // 已点价格
|
|
|
+ POINTFLAG bool `json:"pointflag" xorm:"POINTFLAG"` // 是否已点价
|
|
|
+ POINTINCOME float64 `json:"pointincome" xorm:"POINTINCOME"` // 点价总收益
|
|
|
|
|
|
TYPE int `json:"-" xorm:"-" form:"type"` // 类型 - 0:未完成 1:已完成
|
|
|
|
|
|
@@ -779,6 +780,7 @@ func (r *Thjpurchasetradedetail) buildSql() string {
|
|
|
t.TRANSFERPRICE,
|
|
|
pi.PRESALESTATUS,
|
|
|
to_char(pi.CREATETIME, 'yyyy-MM-dd hh24:mi:ss') CREATETIME,
|
|
|
+ t.FIRSTBUYUSERID,
|
|
|
t.AVAILABLETIME,
|
|
|
t.POINTPRICE,
|
|
|
t.POINTFLAG,
|
|
|
@@ -868,6 +870,7 @@ func (r *Thjpurchasetradedetail) buildSql2() string {
|
|
|
t.TRANSFERPRICE,
|
|
|
pi.PRESALESTATUS,
|
|
|
to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME,
|
|
|
+ t.FIRSTBUYUSERID,
|
|
|
t.AVAILABLETIME,
|
|
|
t.POINTPRICE,
|
|
|
t.POINTFLAG,
|