fix: 合同金蝶同步结果回传接收 D903修改
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ public class HcsContractSpecSyncSupport {
|
|||||||
/**
|
/**
|
||||||
* 按合规合同ID定位合同(合规推送 requestId/id,即 blade_contract_manage.hcs_fd_id)
|
* 按合规合同ID定位合同(合规推送 requestId/id,即 blade_contract_manage.hcs_fd_id)
|
||||||
*/
|
*/
|
||||||
private ContractManage locateContractByFdId(String requestId) {
|
public ContractManage locateContractByFdId(String requestId) {
|
||||||
if (StringUtil.isBlank(requestId)) {
|
if (StringUtil.isBlank(requestId)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -131,7 +131,8 @@ public class HcsContractSyncSupport {
|
|||||||
throw new ServiceException("来源系统标识错误");
|
throw new ServiceException("来源系统标识错误");
|
||||||
}
|
}
|
||||||
String raw = JSONUtil.toJsonStr(param);
|
String raw = JSONUtil.toJsonStr(param);
|
||||||
ContractManage contractManage = locateContractByNo(param.getContractCode());
|
String requestId = param.getRequestId();
|
||||||
|
ContractManage contractManage = hcsContractSpecSyncSupport.locateContractByFdId(requestId);
|
||||||
if (contractManage == null) {
|
if (contractManage == null) {
|
||||||
log.warn("合同金蝶同步结果推送未定位到合同:contractCode={},报文已留痕", param.getContractCode());
|
log.warn("合同金蝶同步结果推送未定位到合同:contractCode={},报文已留痕", param.getContractCode());
|
||||||
writeKingdeeCallbackLog(null, HcsSyncConstant.CHECK_RESULT_SKIP, "合同金蝶同步结果推送未定位到合同:" + raw);
|
writeKingdeeCallbackLog(null, HcsSyncConstant.CHECK_RESULT_SKIP, "合同金蝶同步结果推送未定位到合同:" + raw);
|
||||||
|
|||||||
Reference in New Issue
Block a user