|
|
@@ -1007,6 +1007,55 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "/Ermcp/QueryExposureDetail": {
|
|
|
+ "get": {
|
|
|
+ "security": [
|
|
|
+ {
|
|
|
+ "ApiKeyAuth": []
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "tags": [
|
|
|
+ "企业风险管理(app)"
|
|
|
+ ],
|
|
|
+ "summary": "查询敞口现货明细",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "所属机构ID",
|
|
|
+ "name": "areaUserId",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "integer",
|
|
|
+ "description": "套保商品",
|
|
|
+ "name": "middleGoodsId",
|
|
|
+ "in": "query",
|
|
|
+ "required": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "schema": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/definitions/ermcp.ExposureDetailRsp"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "500": {
|
|
|
+ "description": "Internal Server Error",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"/Ermcp/QueryHedgePlan": {
|
|
|
"get": {
|
|
|
"security": [
|
|
|
@@ -5604,6 +5653,9 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "ermcp.ExposureDetailRsp": {
|
|
|
+ "$ref": "#/definitions/models.ErmcpExposureDetailModel"
|
|
|
+ },
|
|
|
"ermcp.QryBusinessDjRsp": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -5958,6 +6010,10 @@ var doc = `{
|
|
|
"description": "商品名称",
|
|
|
"type": "string"
|
|
|
},
|
|
|
+ "kxtype": {
|
|
|
+ "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
"operateapplyid": {
|
|
|
"description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
|
|
|
"type": "string"
|
|
|
@@ -7747,6 +7803,75 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.ErmcpExposureDetailModel": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "areauserid": {
|
|
|
+ "description": "机构ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "changeQty": {
|
|
|
+ "description": "套保变动量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "contracttype": {
|
|
|
+ "description": "现货合同类型 - 1:采购 -1:销售",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "convertfactor": {
|
|
|
+ "description": "标仓系数",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "convertratio": {
|
|
|
+ "description": "套保系数",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "createtime": {
|
|
|
+ "description": "时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "enumdicname": {
|
|
|
+ "description": "现货商品单位名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "logtype": {
|
|
|
+ "description": "类型 - 1:套保计划 2:现货合同",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "middlegoodsId": {
|
|
|
+ "description": "套保商品id",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "middlegoodscode": {
|
|
|
+ "description": "套保商品代码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "middlegoodsname": {
|
|
|
+ "description": "套保商品名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "qty": {
|
|
|
+ "description": "数量",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "relateNo": {
|
|
|
+ "description": "现货合同/套保计划编号",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "wrstandardcode": {
|
|
|
+ "description": "现货商品代码",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "wrstandardid": {
|
|
|
+ "description": "现货商品ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "wrstandardname": {
|
|
|
+ "description": "现货商品名称",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.ErmcpHedgePlan": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -7879,6 +8004,10 @@ var doc = `{
|
|
|
"description": "已开票额",
|
|
|
"type": "number"
|
|
|
},
|
|
|
+ "margin": {
|
|
|
+ "description": "保证金",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
"payamount": {
|
|
|
"description": "已收付额(收款或付款)",
|
|
|
"type": "number"
|