Forráskód Böngészése

查询合同操作接口增加"审核备注"字段

zou.yingbin 4 éve
szülő
commit
a2e01e0db3
4 módosított fájl, 57 hozzáadás és 0 törlés
  1. 20 0
      docs/docs.go
  2. 20 0
      docs/swagger.json
  3. 15 0
      docs/swagger.yaml
  4. 2 0
      models/ermcpOPApply.go

+ 20 - 0
docs/docs.go

@@ -15763,6 +15763,10 @@ var doc = `{
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"
@@ -15888,6 +15892,10 @@ var doc = `{
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"
@@ -16009,6 +16017,10 @@ var doc = `{
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"
@@ -16138,6 +16150,10 @@ var doc = `{
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"
@@ -16275,6 +16291,10 @@ var doc = `{
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"

+ 20 - 0
docs/swagger.json

@@ -15747,6 +15747,10 @@
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"
@@ -15872,6 +15876,10 @@
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"
@@ -15993,6 +16001,10 @@
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"
@@ -16122,6 +16134,10 @@
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"
@@ -16259,6 +16275,10 @@
                     "description": "审核人名称",
                     "type": "string"
                 },
+                "auditremark": {
+                    "description": "审核备注",
+                    "type": "string"
+                },
                 "audittime": {
                     "description": "审核时间",
                     "type": "string"

+ 15 - 0
docs/swagger.yaml

@@ -1290,6 +1290,9 @@ definitions:
       auditname:
         description: 审核人名称
         type: string
+      auditremark:
+        description: 审核备注
+        type: string
       audittime:
         description: 审核时间
         type: string
@@ -1383,6 +1386,9 @@ definitions:
       auditname:
         description: 审核人名称
         type: string
+      auditremark:
+        description: 审核备注
+        type: string
       audittime:
         description: 审核时间
         type: string
@@ -1473,6 +1479,9 @@ definitions:
       auditname:
         description: 审核人名称
         type: string
+      auditremark:
+        description: 审核备注
+        type: string
       audittime:
         description: 审核时间
         type: string
@@ -1569,6 +1578,9 @@ definitions:
       auditname:
         description: 审核人名称
         type: string
+      auditremark:
+        description: 审核备注
+        type: string
       audittime:
         description: 审核时间
         type: string
@@ -1671,6 +1683,9 @@ definitions:
       auditname:
         description: 审核人名称
         type: string
+      auditremark:
+        description: 审核备注
+        type: string
       audittime:
         description: 审核时间
         type: string

+ 2 - 0
models/ermcpOPApply.go

@@ -45,6 +45,7 @@ type ErmcpOPApplyModel struct {
 	DELIVERYGOODSID   int     `json:"deliverygoodsid"  xorm:"'DELIVERYGOODSID'"`     // 现货商品ID
 	DELIVERYGOODSCODE string  `json:"deliverygoodscode"  xorm:"'DELIVERYGOODSCODE'"` // 现货品种代码
 	DELIVERYGOODSNAME string  `json:"deliverygoodsname"  xorm:"'DELIVERYGOODSNAME'"` // 现货品种名称
+	AUDITREMARK       string  `json:"auditremark"  xorm:"'AUDITREMARK'"`             // 审核备注
 
 	FilterAppStatus string `json:"-"` // 状态过滤条件
 	UserType        int32  `json:"-"`
@@ -76,6 +77,7 @@ func (r *ErmcpOPApplyModel) buildSql(opType int32) string {
 		"       to_char(t.auditid) auditid," +
 		"       to_char(t.AUDITTIME, 'yyyy-mm-dd hh24:mi:ss') AUDITTIME," +
 		"       t.CONTRACTTYPE," +
+		"       t.auditremark," +
 		"       to_char(t.attachurl) attachurl," +
 		"       s.CONTRACTNO," +
 		"       s.PRICETYPE," +