Browse Source

更新swag

zou.yingbin 4 years ago
parent
commit
21ce5c3088
4 changed files with 2547 additions and 1 deletions
  1. 51 1
      controllers/ermcp/qryOPApply.go
  2. 921 0
      docs/docs.go
  3. 921 0
      docs/swagger.json
  4. 654 0
      docs/swagger.yaml

+ 51 - 1
controllers/ermcp/qryOPApply.go

@@ -78,6 +78,16 @@ type QryBusinessDjRsp struct {
 }
 
 // QueryBusinessDj  企业风险管理合同操作查询
+// @Summary 查询业务管理(点价)(对应菜单:业务管理/点价)
+// @Produce json
+// @Security ApiKeyAuth
+// @Param UserId query int true "用户ID"
+// @Param relatedid query string false "现货合同ID, 不填则查所有"
+// @Param applystatus query string false "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回"
+// @Success 200 {array} QryBusinessDjRsp
+// @Failure 500 {object} app.Response
+// @Router /Ermcp/QueryBusinessDj [get]
+// @Tags 企业风险管理(app)
 func QueryBusinessDj(c *gin.Context) {
 	appG := app.Gin{C: c}
 	var req QryOPApplyReq
@@ -109,6 +119,17 @@ type QryBussinessJsRsp struct {
 }
 
 // QueryBusinessJs  企业风险管理合同操作查询
+// @Summary 查询业务管理(结算)(对应菜单:业务管理/结算)
+// @Produce json
+// @Security ApiKeyAuth
+// @Param UserId query int true "用户ID"
+// @Param relatedid query string false "现货合同ID, 不填则查所有"
+// @Param operateapplyid query string false "操作申请id"
+// @Param applystatus query string false "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回"
+// @Success 200 {array} QryBussinessJsRsp
+// @Failure 500 {object} app.Response
+// @Router /Ermcp/QueryBusinessJs [get]
+// @Tags 企业风险管理(app)
 func QueryBusinessJs(c *gin.Context) {
 	appG := app.Gin{C: c}
 	var req QryOPApplyReq
@@ -138,7 +159,16 @@ type QryBussinessJsExRsp struct {
 	ReckonValue float64 `json:"reckonvalue"` // 值
 }
 
-// QueryBusinessJsEx 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
+// @Summary 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
+// @Produce json
+// @Security ApiKeyAuth
+// @Param UserId query int true "用户ID"
+// @Param relatedid query string false "现货合同ID, 不填则查所有"
+// @Param applystatus query string false "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回"
+// @Success 200 {array} QryBussinessJsExRsp
+// @Failure 500 {object} app.Response
+// @Router /Ermcp/QueryBusinessJsEx [get]
+// @Tags 企业风险管理(app)
 func QueryBusinessJsEx(c *gin.Context) {
 	appG := app.Gin{C: c}
 	var req QryOPApplyReq
@@ -199,6 +229,16 @@ type QryBussinessKxRsp struct {
 }
 
 // QueryBusinessKx  企业风险管理合同操作查询
+// @Summary 查询财务管理(款项)(对应菜单:财务管理/款项)
+// @Produce json
+// @Security ApiKeyAuth
+// @Param UserId query int true "用户ID"
+// @Param relatedid query string false "现货合同ID, 不填则查所有"
+// @Param applystatus query string false "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回"
+// @Success 200 {array} QryBussinessKxRsp
+// @Failure 500 {object} app.Response
+// @Router /Ermcp/QueryBusinessKx [get]
+// @Tags 企业风险管理(app)
 func QueryBusinessKx(c *gin.Context) {
 	appG := app.Gin{C: c}
 	var req QryOPApplyReq
@@ -230,6 +270,16 @@ type QryBussinessFpRsp struct {
 }
 
 // QueryBusinessFp  企业风险管理合同操作查询
+// @Summary 查询财务管理(发票)(对应菜单:财务管理/发票)
+// @Produce json
+// @Security ApiKeyAuth
+// @Param UserId query int true "用户ID"
+// @Param relatedid query string false "现货合同ID, 不填则查所有"
+// @Param applystatus query string false "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回"
+// @Success 200 {array} QryBussinessFpRsp
+// @Failure 500 {object} app.Response
+// @Router /Ermcp/QueryBusinessFp [get]
+// @Tags 企业风险管理(app)
 func QueryBusinessFp(c *gin.Context) {
 	appG := app.Gin{C: c}
 	var req QryOPApplyReq

+ 921 - 0
docs/docs.go

@@ -1365,6 +1365,282 @@ var doc = `{
                 }
             }
         },
+        "/Ermcp/QueryBusinessDj": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/Ermcp/QueryBusinessFp": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/Ermcp/QueryBusinessJs": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "操作申请id",
+                        "name": "operateapplyid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/Ermcp/QueryBusinessJsEx": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/Ermcp/QueryBusinessKx": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/Ermcp/QueryChangeLog": {
             "get": {
                 "security": [
@@ -9057,6 +9333,651 @@ var doc = `{
         "ermcp.QryAvalidGPRsp": {
             "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
         },
+        "ermcp.QryBusinessDjRsp": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "点价金额=(点价价格+升贴水)*点价数量",
+                    "type": "number"
+                },
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "pricedPrice": {
+                    "description": "点价价格(非必填)",
+                    "type": "number"
+                },
+                "pricedQty": {
+                    "description": "点价数量(非必填)",
+                    "type": "number"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
+        "ermcp.QryBussinessFpRsp": {
+            "type": "object",
+            "properties": {
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "invoiceAmount": {
+                    "description": "已开收票金额(销售为开票,采购为收票)",
+                    "type": "number"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
+        "ermcp.QryBussinessJsExRsp": {
+            "type": "object",
+            "properties": {
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "reckontype": {
+                    "description": "结算类型",
+                    "type": "string"
+                },
+                "reckonvalue": {
+                    "description": "值",
+                    "type": "number"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
+        "ermcp.QryBussinessJsRsp": {
+            "type": "object",
+            "properties": {
+                "addmargin": {
+                    "description": "追加保证金(非必填)",
+                    "type": "number"
+                },
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "decmargin": {
+                    "description": "减少保证金(非必填)",
+                    "type": "number"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "reckonadjustamount": {
+                    "description": "结算调整金额(非必填)",
+                    "type": "number"
+                },
+                "reckonosamount": {
+                    "description": "结算溢短金额(非必填)",
+                    "type": "number"
+                },
+                "reckonotheramount": {
+                    "description": "结算其他费用(非必填)",
+                    "type": "number"
+                },
+                "reckonrealqty": {
+                    "description": "结算实际数量(非必填)",
+                    "type": "number"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
+        "ermcp.QryBussinessKxRsp": {
+            "type": "object",
+            "properties": {
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "deductamount": {
+                    "description": "退款(非必填)",
+                    "type": "number"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "kxtype": {
+                    "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
+                    "type": "integer"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "payamount": {
+                    "description": "收付款(非必填)",
+                    "type": "number"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
         "ermcp.QryGGCovertCfgRsp": {
             "$ref": "#/definitions/models.ErmcpGGConvertCfg"
         },

+ 921 - 0
docs/swagger.json

@@ -1349,6 +1349,282 @@
                 }
             }
         },
+        "/Ermcp/QueryBusinessDj": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/Ermcp/QueryBusinessFp": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/Ermcp/QueryBusinessJs": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "操作申请id",
+                        "name": "operateapplyid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/Ermcp/QueryBusinessJsEx": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/Ermcp/QueryBusinessKx": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "企业风险管理(app)"
+                ],
+                "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "用户ID",
+                        "name": "UserId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "现货合同ID, 不填则查所有",
+                        "name": "relatedid",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                        "name": "applystatus",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/Ermcp/QueryChangeLog": {
             "get": {
                 "security": [
@@ -9041,6 +9317,651 @@
         "ermcp.QryAvalidGPRsp": {
             "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
         },
+        "ermcp.QryBusinessDjRsp": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "点价金额=(点价价格+升贴水)*点价数量",
+                    "type": "number"
+                },
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "pricedPrice": {
+                    "description": "点价价格(非必填)",
+                    "type": "number"
+                },
+                "pricedQty": {
+                    "description": "点价数量(非必填)",
+                    "type": "number"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
+        "ermcp.QryBussinessFpRsp": {
+            "type": "object",
+            "properties": {
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "invoiceAmount": {
+                    "description": "已开收票金额(销售为开票,采购为收票)",
+                    "type": "number"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
+        "ermcp.QryBussinessJsExRsp": {
+            "type": "object",
+            "properties": {
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "reckontype": {
+                    "description": "结算类型",
+                    "type": "string"
+                },
+                "reckonvalue": {
+                    "description": "值",
+                    "type": "number"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
+        "ermcp.QryBussinessJsRsp": {
+            "type": "object",
+            "properties": {
+                "addmargin": {
+                    "description": "追加保证金(非必填)",
+                    "type": "number"
+                },
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "decmargin": {
+                    "description": "减少保证金(非必填)",
+                    "type": "number"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "reckonadjustamount": {
+                    "description": "结算调整金额(非必填)",
+                    "type": "number"
+                },
+                "reckonosamount": {
+                    "description": "结算溢短金额(非必填)",
+                    "type": "number"
+                },
+                "reckonotheramount": {
+                    "description": "结算其他费用(非必填)",
+                    "type": "number"
+                },
+                "reckonrealqty": {
+                    "description": "结算实际数量(非必填)",
+                    "type": "number"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
+        "ermcp.QryBussinessKxRsp": {
+            "type": "object",
+            "properties": {
+                "applyid": {
+                    "description": "申请人",
+                    "type": "string"
+                },
+                "applyname": {
+                    "description": "申请人名称",
+                    "type": "string"
+                },
+                "applystatus": {
+                    "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
+                    "type": "integer"
+                },
+                "applytime": {
+                    "description": "申请时间",
+                    "type": "string"
+                },
+                "attachurl": {
+                    "description": "附件",
+                    "type": "string"
+                },
+                "auditid": {
+                    "description": "审核人ID",
+                    "type": "string"
+                },
+                "auditname": {
+                    "description": "审核人名称",
+                    "type": "string"
+                },
+                "audittime": {
+                    "description": "审核时间",
+                    "type": "string"
+                },
+                "buyusername": {
+                    "description": "采购方名称",
+                    "type": "string"
+                },
+                "contractno": {
+                    "description": "合同编号",
+                    "type": "string"
+                },
+                "contractstatus": {
+                    "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
+                    "type": "integer"
+                },
+                "contracttype": {
+                    "description": "现货合同类型 - 1:采购 -1:销售",
+                    "type": "integer"
+                },
+                "deductamount": {
+                    "description": "退款(非必填)",
+                    "type": "number"
+                },
+                "deliverygoodscode": {
+                    "description": "现货品种代码",
+                    "type": "string"
+                },
+                "deliverygoodsid": {
+                    "description": "现货商品ID",
+                    "type": "integer"
+                },
+                "deliverygoodsname": {
+                    "description": "现货品种名称",
+                    "type": "string"
+                },
+                "enumdicname": {
+                    "description": "单位名称",
+                    "type": "string"
+                },
+                "goodscode": {
+                    "description": "点价合约",
+                    "type": "string"
+                },
+                "goodsname": {
+                    "description": "商品名称",
+                    "type": "string"
+                },
+                "kxtype": {
+                    "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
+                    "type": "integer"
+                },
+                "operateapplyid": {
+                    "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
+                    "type": "string"
+                },
+                "operateapplytype": {
+                    "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
+                    "type": "integer"
+                },
+                "payamount": {
+                    "description": "收付款(非必填)",
+                    "type": "number"
+                },
+                "pricemove": {
+                    "description": "升贴水",
+                    "type": "number"
+                },
+                "pricetype": {
+                    "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
+                    "type": "integer"
+                },
+                "relatedid": {
+                    "description": "现货合同ID",
+                    "type": "string"
+                },
+                "sellusername": {
+                    "description": "销售方名字",
+                    "type": "string"
+                },
+                "userid": {
+                    "description": "用户ID",
+                    "type": "integer"
+                },
+                "wrstandardcode": {
+                    "description": "品类代码",
+                    "type": "string"
+                },
+                "wrstandardid": {
+                    "description": "品类id",
+                    "type": "integer"
+                },
+                "wrstandardname": {
+                    "description": "品类名称",
+                    "type": "string"
+                }
+            }
+        },
         "ermcp.QryGGCovertCfgRsp": {
             "$ref": "#/definitions/models.ErmcpGGConvertCfg"
         },

+ 654 - 0
docs/swagger.yaml

@@ -933,6 +933,486 @@ definitions:
     $ref: '#/definitions/models.ErmcpPendingAudit'
   ermcp.QryAvalidGPRsp:
     $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
+  ermcp.QryBusinessDjRsp:
+    properties:
+      amount:
+        description: 点价金额=(点价价格+升贴水)*点价数量
+        type: number
+      applyid:
+        description: 申请人
+        type: string
+      applyname:
+        description: 申请人名称
+        type: string
+      applystatus:
+        description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        type: integer
+      applytime:
+        description: 申请时间
+        type: string
+      attachurl:
+        description: 附件
+        type: string
+      auditid:
+        description: 审核人ID
+        type: string
+      auditname:
+        description: 审核人名称
+        type: string
+      audittime:
+        description: 审核时间
+        type: string
+      buyusername:
+        description: 采购方名称
+        type: string
+      contractno:
+        description: 合同编号
+        type: string
+      contractstatus:
+        description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
+        type: integer
+      contracttype:
+        description: 现货合同类型 - 1:采购 -1:销售
+        type: integer
+      deliverygoodscode:
+        description: 现货品种代码
+        type: string
+      deliverygoodsid:
+        description: 现货商品ID
+        type: integer
+      deliverygoodsname:
+        description: 现货品种名称
+        type: string
+      enumdicname:
+        description: 单位名称
+        type: string
+      goodscode:
+        description: 点价合约
+        type: string
+      goodsname:
+        description: 商品名称
+        type: string
+      operateapplyid:
+        description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
+        type: string
+      operateapplytype:
+        description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
+        type: integer
+      pricedPrice:
+        description: 点价价格(非必填)
+        type: number
+      pricedQty:
+        description: 点价数量(非必填)
+        type: number
+      pricemove:
+        description: 升贴水
+        type: number
+      pricetype:
+        description: 定价类型 - 1:一口价 2:点价 3:暂定价
+        type: integer
+      relatedid:
+        description: 现货合同ID
+        type: string
+      sellusername:
+        description: 销售方名字
+        type: string
+      userid:
+        description: 用户ID
+        type: integer
+      wrstandardcode:
+        description: 品类代码
+        type: string
+      wrstandardid:
+        description: 品类id
+        type: integer
+      wrstandardname:
+        description: 品类名称
+        type: string
+    type: object
+  ermcp.QryBussinessFpRsp:
+    properties:
+      applyid:
+        description: 申请人
+        type: string
+      applyname:
+        description: 申请人名称
+        type: string
+      applystatus:
+        description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        type: integer
+      applytime:
+        description: 申请时间
+        type: string
+      attachurl:
+        description: 附件
+        type: string
+      auditid:
+        description: 审核人ID
+        type: string
+      auditname:
+        description: 审核人名称
+        type: string
+      audittime:
+        description: 审核时间
+        type: string
+      buyusername:
+        description: 采购方名称
+        type: string
+      contractno:
+        description: 合同编号
+        type: string
+      contractstatus:
+        description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
+        type: integer
+      contracttype:
+        description: 现货合同类型 - 1:采购 -1:销售
+        type: integer
+      deliverygoodscode:
+        description: 现货品种代码
+        type: string
+      deliverygoodsid:
+        description: 现货商品ID
+        type: integer
+      deliverygoodsname:
+        description: 现货品种名称
+        type: string
+      enumdicname:
+        description: 单位名称
+        type: string
+      goodscode:
+        description: 点价合约
+        type: string
+      goodsname:
+        description: 商品名称
+        type: string
+      invoiceAmount:
+        description: 已开收票金额(销售为开票,采购为收票)
+        type: number
+      operateapplyid:
+        description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
+        type: string
+      operateapplytype:
+        description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
+        type: integer
+      pricemove:
+        description: 升贴水
+        type: number
+      pricetype:
+        description: 定价类型 - 1:一口价 2:点价 3:暂定价
+        type: integer
+      relatedid:
+        description: 现货合同ID
+        type: string
+      sellusername:
+        description: 销售方名字
+        type: string
+      userid:
+        description: 用户ID
+        type: integer
+      wrstandardcode:
+        description: 品类代码
+        type: string
+      wrstandardid:
+        description: 品类id
+        type: integer
+      wrstandardname:
+        description: 品类名称
+        type: string
+    type: object
+  ermcp.QryBussinessJsExRsp:
+    properties:
+      applyid:
+        description: 申请人
+        type: string
+      applyname:
+        description: 申请人名称
+        type: string
+      applystatus:
+        description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        type: integer
+      applytime:
+        description: 申请时间
+        type: string
+      attachurl:
+        description: 附件
+        type: string
+      auditid:
+        description: 审核人ID
+        type: string
+      auditname:
+        description: 审核人名称
+        type: string
+      audittime:
+        description: 审核时间
+        type: string
+      buyusername:
+        description: 采购方名称
+        type: string
+      contractno:
+        description: 合同编号
+        type: string
+      contractstatus:
+        description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
+        type: integer
+      contracttype:
+        description: 现货合同类型 - 1:采购 -1:销售
+        type: integer
+      deliverygoodscode:
+        description: 现货品种代码
+        type: string
+      deliverygoodsid:
+        description: 现货商品ID
+        type: integer
+      deliverygoodsname:
+        description: 现货品种名称
+        type: string
+      enumdicname:
+        description: 单位名称
+        type: string
+      goodscode:
+        description: 点价合约
+        type: string
+      goodsname:
+        description: 商品名称
+        type: string
+      operateapplyid:
+        description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
+        type: string
+      operateapplytype:
+        description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
+        type: integer
+      pricemove:
+        description: 升贴水
+        type: number
+      pricetype:
+        description: 定价类型 - 1:一口价 2:点价 3:暂定价
+        type: integer
+      reckontype:
+        description: 结算类型
+        type: string
+      reckonvalue:
+        description: 值
+        type: number
+      relatedid:
+        description: 现货合同ID
+        type: string
+      sellusername:
+        description: 销售方名字
+        type: string
+      userid:
+        description: 用户ID
+        type: integer
+      wrstandardcode:
+        description: 品类代码
+        type: string
+      wrstandardid:
+        description: 品类id
+        type: integer
+      wrstandardname:
+        description: 品类名称
+        type: string
+    type: object
+  ermcp.QryBussinessJsRsp:
+    properties:
+      addmargin:
+        description: 追加保证金(非必填)
+        type: number
+      applyid:
+        description: 申请人
+        type: string
+      applyname:
+        description: 申请人名称
+        type: string
+      applystatus:
+        description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        type: integer
+      applytime:
+        description: 申请时间
+        type: string
+      attachurl:
+        description: 附件
+        type: string
+      auditid:
+        description: 审核人ID
+        type: string
+      auditname:
+        description: 审核人名称
+        type: string
+      audittime:
+        description: 审核时间
+        type: string
+      buyusername:
+        description: 采购方名称
+        type: string
+      contractno:
+        description: 合同编号
+        type: string
+      contractstatus:
+        description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
+        type: integer
+      contracttype:
+        description: 现货合同类型 - 1:采购 -1:销售
+        type: integer
+      decmargin:
+        description: 减少保证金(非必填)
+        type: number
+      deliverygoodscode:
+        description: 现货品种代码
+        type: string
+      deliverygoodsid:
+        description: 现货商品ID
+        type: integer
+      deliverygoodsname:
+        description: 现货品种名称
+        type: string
+      enumdicname:
+        description: 单位名称
+        type: string
+      goodscode:
+        description: 点价合约
+        type: string
+      goodsname:
+        description: 商品名称
+        type: string
+      operateapplyid:
+        description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
+        type: string
+      operateapplytype:
+        description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
+        type: integer
+      pricemove:
+        description: 升贴水
+        type: number
+      pricetype:
+        description: 定价类型 - 1:一口价 2:点价 3:暂定价
+        type: integer
+      reckonadjustamount:
+        description: 结算调整金额(非必填)
+        type: number
+      reckonosamount:
+        description: 结算溢短金额(非必填)
+        type: number
+      reckonotheramount:
+        description: 结算其他费用(非必填)
+        type: number
+      reckonrealqty:
+        description: 结算实际数量(非必填)
+        type: number
+      relatedid:
+        description: 现货合同ID
+        type: string
+      sellusername:
+        description: 销售方名字
+        type: string
+      userid:
+        description: 用户ID
+        type: integer
+      wrstandardcode:
+        description: 品类代码
+        type: string
+      wrstandardid:
+        description: 品类id
+        type: integer
+      wrstandardname:
+        description: 品类名称
+        type: string
+    type: object
+  ermcp.QryBussinessKxRsp:
+    properties:
+      applyid:
+        description: 申请人
+        type: string
+      applyname:
+        description: 申请人名称
+        type: string
+      applystatus:
+        description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        type: integer
+      applytime:
+        description: 申请时间
+        type: string
+      attachurl:
+        description: 附件
+        type: string
+      auditid:
+        description: 审核人ID
+        type: string
+      auditname:
+        description: 审核人名称
+        type: string
+      audittime:
+        description: 审核时间
+        type: string
+      buyusername:
+        description: 采购方名称
+        type: string
+      contractno:
+        description: 合同编号
+        type: string
+      contractstatus:
+        description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
+        type: integer
+      contracttype:
+        description: 现货合同类型 - 1:采购 -1:销售
+        type: integer
+      deductamount:
+        description: 退款(非必填)
+        type: number
+      deliverygoodscode:
+        description: 现货品种代码
+        type: string
+      deliverygoodsid:
+        description: 现货商品ID
+        type: integer
+      deliverygoodsname:
+        description: 现货品种名称
+        type: string
+      enumdicname:
+        description: 单位名称
+        type: string
+      goodscode:
+        description: 点价合约
+        type: string
+      goodsname:
+        description: 商品名称
+        type: string
+      kxtype:
+        description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
+        type: integer
+      operateapplyid:
+        description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
+        type: string
+      operateapplytype:
+        description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
+        type: integer
+      payamount:
+        description: 收付款(非必填)
+        type: number
+      pricemove:
+        description: 升贴水
+        type: number
+      pricetype:
+        description: 定价类型 - 1:一口价 2:点价 3:暂定价
+        type: integer
+      relatedid:
+        description: 现货合同ID
+        type: string
+      sellusername:
+        description: 销售方名字
+        type: string
+      userid:
+        description: 用户ID
+        type: integer
+      wrstandardcode:
+        description: 品类代码
+        type: string
+      wrstandardid:
+        description: 品类id
+        type: integer
+      wrstandardname:
+        description: 品类名称
+        type: string
+    type: object
   ermcp.QryGGCovertCfgRsp:
     $ref: '#/definitions/models.ErmcpGGConvertCfg'
   ermcp.QryMGChangeLogRsp:
@@ -11882,6 +12362,180 @@ paths:
       summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
       tags:
       - 企业风险管理(app)
+  /Ermcp/QueryBusinessDj:
+    get:
+      parameters:
+      - description: 用户ID
+        in: query
+        name: UserId
+        required: true
+        type: integer
+      - description: 现货合同ID, 不填则查所有
+        in: query
+        name: relatedid
+        type: string
+      - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        in: query
+        name: applystatus
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            items:
+              $ref: '#/definitions/ermcp.QryBusinessDjRsp'
+            type: array
+        "500":
+          description: Internal Server Error
+          schema:
+            $ref: '#/definitions/app.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
+      tags:
+      - 企业风险管理(app)
+  /Ermcp/QueryBusinessFp:
+    get:
+      parameters:
+      - description: 用户ID
+        in: query
+        name: UserId
+        required: true
+        type: integer
+      - description: 现货合同ID, 不填则查所有
+        in: query
+        name: relatedid
+        type: string
+      - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        in: query
+        name: applystatus
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            items:
+              $ref: '#/definitions/ermcp.QryBussinessFpRsp'
+            type: array
+        "500":
+          description: Internal Server Error
+          schema:
+            $ref: '#/definitions/app.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
+      tags:
+      - 企业风险管理(app)
+  /Ermcp/QueryBusinessJs:
+    get:
+      parameters:
+      - description: 用户ID
+        in: query
+        name: UserId
+        required: true
+        type: integer
+      - description: 现货合同ID, 不填则查所有
+        in: query
+        name: relatedid
+        type: string
+      - description: 操作申请id
+        in: query
+        name: operateapplyid
+        type: string
+      - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        in: query
+        name: applystatus
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            items:
+              $ref: '#/definitions/ermcp.QryBussinessJsRsp'
+            type: array
+        "500":
+          description: Internal Server Error
+          schema:
+            $ref: '#/definitions/app.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
+      tags:
+      - 企业风险管理(app)
+  /Ermcp/QueryBusinessJsEx:
+    get:
+      parameters:
+      - description: 用户ID
+        in: query
+        name: UserId
+        required: true
+        type: integer
+      - description: 现货合同ID, 不填则查所有
+        in: query
+        name: relatedid
+        type: string
+      - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        in: query
+        name: applystatus
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            items:
+              $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
+            type: array
+        "500":
+          description: Internal Server Error
+          schema:
+            $ref: '#/definitions/app.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
+      tags:
+      - 企业风险管理(app)
+  /Ermcp/QueryBusinessKx:
+    get:
+      parameters:
+      - description: 用户ID
+        in: query
+        name: UserId
+        required: true
+        type: integer
+      - description: 现货合同ID, 不填则查所有
+        in: query
+        name: relatedid
+        type: string
+      - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
+        in: query
+        name: applystatus
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            items:
+              $ref: '#/definitions/ermcp.QryBussinessKxRsp'
+            type: array
+        "500":
+          description: Internal Server Error
+          schema:
+            $ref: '#/definitions/app.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
+      tags:
+      - 企业风险管理(app)
   /Ermcp/QueryChangeLog:
     get:
       parameters: