Browse Source

产能预售商品扩展表 增加字段

Simon Zhou 5 years ago
parent
commit
4bbe06118a
4 changed files with 24 additions and 0 deletions
  1. 2 0
      controllers/cptrade/cpTrade.go
  2. 8 0
      docs/docs.go
  3. 8 0
      docs/swagger.json
  4. 6 0
      docs/swagger.yaml

+ 2 - 0
controllers/cptrade/cpTrade.go

@@ -350,6 +350,8 @@ type Cptradepresalegoodsex struct {
 	Presaledqty     int64     `json:"presaledqty"  xorm:"'PRESALEDQTY'"`            // 已预售量(预售结束时更新)
 	Sellstatus      int64     `json:"sellstatus"  xorm:"'SELLSTATUS'"`              // 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
 	Presaledamount  float64   `json:"presaledamount"  xorm:"'PRESALEDAMOUNT'"`      // 已预售总金额(预售结束时更新)
+	Goodsdetail     string    `json:"goodsdetail"  xorm:"'GOODSDETAIL'"`            // 详情[大宗]
+	Tradeprice      float64   `json:"tradeprice"  xorm:"'TRADEPRICE'"`              // 成交价[大宗]
 }
 
 // TableName is CPTRADE_PRESALEGOODSEX

+ 8 - 0
docs/docs.go

@@ -505,6 +505,10 @@ var doc = `{
                     "description": "底价[大宗式竞拍]",
                     "type": "number"
                 },
+                "goodsdetail": {
+                    "description": "详情[大宗]",
+                    "type": "string"
+                },
                 "goodsid": {
                     "description": "商品ID(预售)",
                     "type": "integer"
@@ -556,6 +560,10 @@ var doc = `{
                 "tradedate": {
                     "description": "交易日(yyyyMMdd)",
                     "type": "string"
+                },
+                "tradeprice": {
+                    "description": "成交价[大宗]",
+                    "type": "number"
                 }
             }
         },

+ 8 - 0
docs/swagger.json

@@ -489,6 +489,10 @@
                     "description": "底价[大宗式竞拍]",
                     "type": "number"
                 },
+                "goodsdetail": {
+                    "description": "详情[大宗]",
+                    "type": "string"
+                },
                 "goodsid": {
                     "description": "商品ID(预售)",
                     "type": "integer"
@@ -540,6 +544,10 @@
                 "tradedate": {
                     "description": "交易日(yyyyMMdd)",
                     "type": "string"
+                },
+                "tradeprice": {
+                    "description": "成交价[大宗]",
+                    "type": "number"
                 }
             }
         },

+ 6 - 0
docs/swagger.yaml

@@ -144,6 +144,9 @@ definitions:
       floorprice:
         description: 底价[大宗式竞拍]
         type: number
+      goodsdetail:
+        description: 详情[大宗]
+        type: string
       goodsid:
         description: 商品ID(预售)
         type: integer
@@ -183,6 +186,9 @@ definitions:
       tradedate:
         description: 交易日(yyyyMMdd)
         type: string
+      tradeprice:
+        description: 成交价[大宗]
+        type: number
     required:
     - goodsid
     type: object