Explorar o código

BUYMARGINALGORITHM int64 `json:"buymarginalgorithm" xorm:"BUYMARGINALGORITHM"` // 采购保证金方式
BUYMARGINVALUE float64 `json:"buymarginvalue" xorm:"BUYMARGINVALUE"` // 采购保证金值
BUYMARGINVALUE2 float64 `json:"buymarginvalue2" xorm:"BUYMARGINVALUE2"` // 采购保证金值2(已乘100)

deng.yinping %!s(int64=2) %!d(string=hai) anos
pai
achega
6cefd233da
Modificáronse 4 ficheiros con 37 adicións e 0 borrados
  1. 12 0
      docs/docs.go
  2. 12 0
      docs/swagger.json
  3. 9 0
      docs/swagger.yaml
  4. 4 0
      models/guangzuan.go

+ 12 - 0
docs/docs.go

@@ -34996,6 +34996,18 @@ const docTemplate = `{
                     "description": "中签基数",
                     "type": "integer"
                 },
+                "buymarginalgorithm": {
+                    "description": "采购保证金方式",
+                    "type": "integer"
+                },
+                "buymarginvalue": {
+                    "description": "采购保证金值",
+                    "type": "number"
+                },
+                "buymarginvalue2": {
+                    "description": "采购保证金值2(已乘100)",
+                    "type": "number"
+                },
                 "customername": {
                     "description": "企业名称(预售方\\卖方)",
                     "type": "string"

+ 12 - 0
docs/swagger.json

@@ -34987,6 +34987,18 @@
                     "description": "中签基数",
                     "type": "integer"
                 },
+                "buymarginalgorithm": {
+                    "description": "采购保证金方式",
+                    "type": "integer"
+                },
+                "buymarginvalue": {
+                    "description": "采购保证金值",
+                    "type": "number"
+                },
+                "buymarginvalue2": {
+                    "description": "采购保证金值2(已乘100)",
+                    "type": "number"
+                },
                 "customername": {
                     "description": "企业名称(预售方\\卖方)",
                     "type": "string"

+ 9 - 0
docs/swagger.yaml

@@ -10794,6 +10794,15 @@ definitions:
       baseqty:
         description: 中签基数
         type: integer
+      buymarginalgorithm:
+        description: 采购保证金方式
+        type: integer
+      buymarginvalue:
+        description: 采购保证金值
+        type: number
+      buymarginvalue2:
+        description: 采购保证金值2(已乘100)
+        type: number
       customername:
         description: 企业名称(预售方\卖方)
         type: string

+ 4 - 0
models/guangzuan.go

@@ -4228,6 +4228,9 @@ type GZPresell struct {
 	PERFORMANCETEMPLATEID string  `json:"performancetemplateid" xorm:"PERFORMANCETEMPLATEID"` // 履约模板ID
 	MINBUYQTY             int32   `json:"minbuyqty" xorm:"MINBUYQTY"`                         // 最小采购单位
 	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"` // 页码信息
 }
@@ -4275,6 +4278,7 @@ func (r *GZPresell) buildSql() string {
 		pi.ENDHANDLETIME,
 		pi.BUYMARGINALGORITHM,
 		pi.BUYMARGINVALUE,
+		pi.BUYMARGINVALUE * 100 BUYMARGINVALUE2,
 		pi.SELLMARGINALGORITHM,
 		pi.SELLMARGINVALUE,
 		pi.PERFORMANCETEMPLATEID,