|
|
@@ -715,6 +715,7 @@ type Thjpurchasetradedetail struct {
|
|
|
POINTPRICE float64 `json:"pointprice" xorm:"POINTPRICE"` // 已点价格
|
|
|
POINTFLAG bool `json:"pointflag" xorm:"POINTFLAG"` // 是否已点价
|
|
|
POINTINCOME float64 `json:"pointincome" xorm:"POINTINCOME"` // 点价总收益
|
|
|
+ POINTTIMES int32 `json:"pointtimes" xorm:"POINTTIMES"` // 点价总次数
|
|
|
|
|
|
TYPE int `json:"-" xorm:"-" form:"type"` // 类型 - 0:未完成 1:已完成 2:可点订单 3:已点订单
|
|
|
|
|
|
@@ -781,6 +782,7 @@ func (r *Thjpurchasetradedetail) buildSql() string {
|
|
|
pi.PRESALESTATUS,
|
|
|
to_char(pi.CREATETIME, 'yyyy-MM-dd hh24:mi:ss') CREATETIME,
|
|
|
t.FIRSTBUYUSERID,
|
|
|
+ t.POINTTIMES,
|
|
|
t.AVAILABLETIME,
|
|
|
t.POINTPRICE,
|
|
|
t.POINTFLAG,
|
|
|
@@ -871,6 +873,7 @@ func (r *Thjpurchasetradedetail) buildSql2() string {
|
|
|
pi.PRESALESTATUS,
|
|
|
to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME,
|
|
|
t.FIRSTBUYUSERID,
|
|
|
+ t.POINTTIMES,
|
|
|
t.AVAILABLETIME,
|
|
|
t.POINTPRICE,
|
|
|
t.POINTFLAG,
|
|
|
@@ -955,6 +958,7 @@ func (r *Thjpurchasetradedetail) buildSql3() string {
|
|
|
pi.PRESALESTATUS,
|
|
|
to_char(pi.CREATETIME, 'yyyy-MM-dd hh24:mi:ss') CREATETIME,
|
|
|
t.FIRSTBUYUSERID,
|
|
|
+ t.POINTTIMES,
|
|
|
t.AVAILABLETIME,
|
|
|
t.POINTPRICE,
|
|
|
t.POINTFLAG,
|
|
|
@@ -1042,6 +1046,7 @@ func (r *Thjpurchasetradedetail) buildSql4() string {
|
|
|
pi.PRESALESTATUS,
|
|
|
to_char(pi.CREATETIME, 'yyyy-MM-dd hh24:mi:ss') CREATETIME,
|
|
|
t.FIRSTBUYUSERID,
|
|
|
+ t.POINTTIMES,
|
|
|
t.AVAILABLETIME,
|
|
|
t.POINTPRICE,
|
|
|
t.POINTFLAG,
|