Procházet zdrojové kódy

FIRSTBUYUSERID int64 `json:"firstbuyuserid" xorm:"FIRSTBUYUSERID"` // 买方用户ID(预售摘牌人)

deng.yinping před 2 roky
rodič
revize
6fe0d51ed0
4 změnil soubory, kde provedl 18 přidání a 4 odebrání
  1. 4 0
      docs/docs.go
  2. 4 0
      docs/swagger.json
  3. 3 0
      docs/swagger.yaml
  4. 7 4
      models/ferroalloy.go

+ 4 - 0
docs/docs.go

@@ -47321,6 +47321,10 @@ const docTemplate = `{
                     "description": "交收月份(提货日期)",
                     "type": "string"
                 },
+                "firstbuyuserid": {
+                    "description": "买方用户ID(预售摘牌人)",
+                    "type": "integer"
+                },
                 "handlestatus": {
                     "description": "处理状态",
                     "type": "integer"

+ 4 - 0
docs/swagger.json

@@ -47312,6 +47312,10 @@
                     "description": "交收月份(提货日期)",
                     "type": "string"
                 },
+                "firstbuyuserid": {
+                    "description": "买方用户ID(预售摘牌人)",
+                    "type": "integer"
+                },
                 "handlestatus": {
                     "description": "处理状态",
                     "type": "integer"

+ 3 - 0
docs/swagger.yaml

@@ -20087,6 +20087,9 @@ definitions:
       enddatemonth:
         description: 交收月份(提货日期)
         type: string
+      firstbuyuserid:
+        description: 买方用户ID(预售摘牌人)
+        type: integer
       handlestatus:
         description: 处理状态
         type: integer

+ 7 - 4
models/ferroalloy.go

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