国贸2.0系统推送合同回调:消息固定R_JG_MY_00应答,_interfaceType__固定传R_MY_JG_10
合同主信息添加货权转移类型(字典:ASY_MTNG_TP)字段
This commit is contained in:
@@ -378,7 +378,7 @@ public class ContractApiImpl implements ContractApi {
|
||||
// 返回数据
|
||||
IntPushContractRespVO body = new IntPushContractRespVO();
|
||||
body.set__requestId_(pushReqVO.get__requestId_());
|
||||
body.set__interfaceType__(pushReqVO.get__interfaceType__());
|
||||
body.set__interfaceType__("R_MY_JG_10");
|
||||
body.setBusiBillCode(pushReqVO.getBusiBillCode());
|
||||
body.setCode(code);
|
||||
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();
|
||||
req.set("messageKey", pushReqVO.getBusiBillCode());
|
||||
req.set("messageKey", "R_JG_MY_00");
|
||||
req.set("messageBody", body);
|
||||
try {
|
||||
log.info("国贸系统推送合同回调参数:{}",req);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user