国贸2.0系统推送合同回调:消息固定R_JG_MY_00应答,_interfaceType__固定传R_MY_JG_10
合同主信息添加货权转移类型(字典:ASY_MTNG_TP)字段
This commit is contained in:
@@ -236,6 +236,9 @@ public class ContractRespDTO {
|
|||||||
@Schema(description = "代理方名称")
|
@Schema(description = "代理方名称")
|
||||||
private String agentName;
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||||
|
private String meteringType;
|
||||||
|
|
||||||
// 物料信息
|
// 物料信息
|
||||||
private List<DetailRespDTO> detail;
|
private List<DetailRespDTO> detail;
|
||||||
|
|
||||||
|
|||||||
@@ -242,6 +242,9 @@ public class ContractRespVO {
|
|||||||
@Schema(description = "代理方名称")
|
@Schema(description = "代理方名称")
|
||||||
private String agentName;
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||||
|
private String meteringType;
|
||||||
|
|
||||||
// 物料信息
|
// 物料信息
|
||||||
private List<DetailRespVO> detail;
|
private List<DetailRespVO> detail;
|
||||||
|
|
||||||
|
|||||||
@@ -211,6 +211,9 @@ public class ContractSaveReqVO {
|
|||||||
@Schema(description = "代理方名称")
|
@Schema(description = "代理方名称")
|
||||||
private String agentName;
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||||
|
private String meteringType;
|
||||||
|
|
||||||
// 物料信息
|
// 物料信息
|
||||||
private List<DetailSaveReqVO> detail;
|
private List<DetailSaveReqVO> detail;
|
||||||
|
|
||||||
|
|||||||
@@ -378,7 +378,7 @@ public class ContractApiImpl implements ContractApi {
|
|||||||
// 返回数据
|
// 返回数据
|
||||||
IntPushContractRespVO body = new IntPushContractRespVO();
|
IntPushContractRespVO body = new IntPushContractRespVO();
|
||||||
body.set__requestId_(pushReqVO.get__requestId_());
|
body.set__requestId_(pushReqVO.get__requestId_());
|
||||||
body.set__interfaceType__(pushReqVO.get__interfaceType__());
|
body.set__interfaceType__("R_MY_JG_10");
|
||||||
body.setBusiBillCode(pushReqVO.getBusiBillCode());
|
body.setBusiBillCode(pushReqVO.getBusiBillCode());
|
||||||
body.setCode(code);
|
body.setCode(code);
|
||||||
body.setMessage(String.format("推送合同[%s]%s", pushReqVO.getData().getContractCode(), code >= 0 ? "成功" : "失败:" + msg));
|
body.setMessage(String.format("推送合同[%s]%s", pushReqVO.getData().getContractCode(), code >= 0 ? "成功" : "失败:" + msg));
|
||||||
@@ -388,7 +388,7 @@ public class ContractApiImpl implements ContractApi {
|
|||||||
|
|
||||||
// 回调参数
|
// 回调参数
|
||||||
JSONObject req = new JSONObject();
|
JSONObject req = new JSONObject();
|
||||||
req.set("messageKey", pushReqVO.getBusiBillCode());
|
req.set("messageKey", "R_JG_MY_00");
|
||||||
req.set("messageBody", body);
|
req.set("messageBody", body);
|
||||||
try {
|
try {
|
||||||
log.info("国贸系统推送合同回调参数:{}",req);
|
log.info("国贸系统推送合同回调参数:{}",req);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user