Ver Fonte

查合同接口增加“点价备注”字段

zou.yingbin há 3 anos atrás
pai
commit
4e74e45703
4 ficheiros alterados com 13 adições e 0 exclusões
  1. 4 0
      docs/docs.go
  2. 4 0
      docs/swagger.json
  3. 3 0
      docs/swagger.yaml
  4. 2 0
      models/ermcp3.go

+ 4 - 0
docs/docs.go

@@ -20511,6 +20511,10 @@ var doc = `{
                     "description": "跟单员名称",
                     "type": "string"
                 },
+                "pointdesc": {
+                    "description": "点价备注",
+                    "type": "string"
+                },
                 "price": {
                     "description": "价格\\暂定价 [1:一口价、3:暂定价]",
                     "type": "number"

+ 4 - 0
docs/swagger.json

@@ -20495,6 +20495,10 @@
                     "description": "跟单员名称",
                     "type": "string"
                 },
+                "pointdesc": {
+                    "description": "点价备注",
+                    "type": "string"
+                },
                 "price": {
                     "description": "价格\\暂定价 [1:一口价、3:暂定价]",
                     "type": "number"

+ 3 - 0
docs/swagger.yaml

@@ -4693,6 +4693,9 @@ definitions:
       merusername:
         description: 跟单员名称
         type: string
+      pointdesc:
+        description: 点价备注
+        type: string
       price:
         description: 价格\暂定价 [1:一口价、3:暂定价]
         type: number

+ 2 - 0
models/ermcp3.go

@@ -632,6 +632,7 @@ type Ermcp3Contract struct {
 	EnumdicName       string  `json:"enumdicname"  xorm:"'ENUMDICNAME'"`                             // 单位名称
 	CONTRACCTSTATUS   int32   `json:"contracctstatus"  xorm:"'CONTRACTSTATUS'"`                      // 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
 	Remark            string  `json:"remark"  xorm:"'Remark'"`                                       // 备注
+	POINTDESC         string  `json:"pointdesc"  xorm:"'POINTDESC'"`                                 // 点价备注
 	AUDITREMARK       string  `json:"auditremark"  xorm:"'AUDITREMARK'"`                             // 审核意见
 	AUDITTIME         string  `json:"audittime"  xorm:"'AUDITTIME'"`                                 // 审核时间
 	CREATETIME        string  `json:"createtime"  xorm:"'CREATETIME'"`                               // 创建时间
@@ -734,6 +735,7 @@ SELECT to_char(t.SPOTCONTRACTID) SPOTCONTRACTID,
        t.MARGIN,
        t.contractmargin,
        t.remark,
+       t.pointdesc,
        t.auditremark,
        to_char(t.contractattachment) attachment,
        t.contractstatus,