瀏覽代碼

更新字段

deng.yinping 2 年之前
父節點
當前提交
244ff587ed
共有 4 個文件被更改,包括 2 次插入15 次删除
  1. 0 4
      docs/docs.go
  2. 0 4
      docs/swagger.json
  3. 0 3
      docs/swagger.yaml
  4. 2 4
      models/guangzuan.go

+ 0 - 4
docs/docs.go

@@ -35004,10 +35004,6 @@ const docTemplate = `{
                     "description": "采购保证金值",
                     "type": "number"
                 },
-                "buymarginvalue2": {
-                    "description": "采购保证金值2(已乘100)",
-                    "type": "number"
-                },
                 "customername": {
                     "description": "企业名称(预售方\\卖方)",
                     "type": "string"

+ 0 - 4
docs/swagger.json

@@ -34995,10 +34995,6 @@
                     "description": "采购保证金值",
                     "type": "number"
                 },
-                "buymarginvalue2": {
-                    "description": "采购保证金值2(已乘100)",
-                    "type": "number"
-                },
                 "customername": {
                     "description": "企业名称(预售方\\卖方)",
                     "type": "string"

+ 0 - 3
docs/swagger.yaml

@@ -10800,9 +10800,6 @@ definitions:
       buymarginvalue:
         description: 采购保证金值
         type: number
-      buymarginvalue2:
-        description: 采购保证金值2(已乘100)
-        type: number
       customername:
         description: 企业名称(预售方\卖方)
         type: string

+ 2 - 4
models/guangzuan.go

@@ -4230,8 +4230,7 @@ type GZPresell struct {
 	MINSUCCESSQTY         int32   `json:"minsuccessqty" xorm:"MINSUCCESSQTY"`                 // 最低成团量
 	BUYMARGINALGORITHM    int64   `json:"buymarginalgorithm" xorm:"BUYMARGINALGORITHM"`       // 采购保证金方式
 	BUYMARGINVALUE        float64 `json:"buymarginvalue" xorm:"BUYMARGINVALUE"`               // 采购保证金值
-	BUYMARGINVALUE2       float64 `json:"buymarginvalue2" xorm:"BUYMARGINVALUE2"`             // 采购保证金值2(已乘100)
-
+	
 	PageEx `xorm:"extends"` // 页码信息
 }
 
@@ -4277,8 +4276,7 @@ func (r *GZPresell) buildSql() string {
 		pi.LASTPRICE,
 		pi.ENDHANDLETIME,
 		pi.BUYMARGINALGORITHM,
-		pi.BUYMARGINVALUE,
-		pi.BUYMARGINVALUE * 100 BUYMARGINVALUE2,
+		pi.BUYMARGINVALUE,		
 		pi.SELLMARGINALGORITHM,
 		pi.SELLMARGINVALUE,
 		pi.PERFORMANCETEMPLATEID,