Просмотр исходного кода

/Ferroalloy/QueryTHJPurchaseTradeDetail:返回 "POINTTIMES"` // 点价总次数

deng.yinping 2 лет назад
Родитель
Сommit
4ba2e7b3cc
4 измененных файлов с 16 добавлено и 0 удалено
  1. 4 0
      docs/docs.go
  2. 4 0
      docs/swagger.json
  3. 3 0
      docs/swagger.yaml
  4. 5 0
      models/ferroalloy.go

+ 4 - 0
docs/docs.go

@@ -50074,6 +50074,10 @@ const docTemplate = `{
                     "description": "已点价格",
                     "type": "number"
                 },
+                "pointtimes": {
+                    "description": "点价总次数",
+                    "type": "integer"
+                },
                 "presaleapplyid": {
                     "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
                     "type": "string"

+ 4 - 0
docs/swagger.json

@@ -50065,6 +50065,10 @@
                     "description": "已点价格",
                     "type": "number"
                 },
+                "pointtimes": {
+                    "description": "点价总次数",
+                    "type": "integer"
+                },
                 "presaleapplyid": {
                     "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
                     "type": "string"

+ 3 - 0
docs/swagger.yaml

@@ -21476,6 +21476,9 @@ definitions:
       pointprice:
         description: 已点价格
         type: number
+      pointtimes:
+        description: 点价总次数
+        type: integer
       presaleapplyid:
         description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
         type: string

+ 5 - 0
models/ferroalloy.go

@@ -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,