🐛 MK流程结束直接同步客商审核通过并完善异常日志
流程状态30时不再校验复评,避免卡在审核中;同步失败补充明确错误日志。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
@@ -153,6 +153,8 @@ public class MkProcessMessageService {
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
log.warn("流程{}但业务id格式不正确 bizType={} id={}", action, bizType, bizIdText);
|
||||
} catch (Exception e) {
|
||||
log.error("流程{}同步业务状态失败 bizType={} id={} processId={}", action, bizType, bizIdText, processId, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -145,6 +145,8 @@ public class CustomerArchivePublicProcessService {
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
log.warn("流程{}但客商id格式不正确:{}", action, customerIdText);
|
||||
} catch (Exception e) {
|
||||
log.error("流程{}同步客商状态失败 id={} processId={}", action, customerIdText, processId, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -324,7 +324,7 @@ public class CustomerArchiveServiceImpl extends BaseServiceImpl<CustomerArchiveM
|
||||
log.info("流程结束审核通过跳过,客商已是审核通过 id={}", id);
|
||||
return true;
|
||||
}
|
||||
validateReviewCompleted(buildDetail(before));
|
||||
// MK 流程已结束(fdProcessStatus=30),直接同步为审核通过,不再校验复评
|
||||
CustomerArchive after = copyCustomer(before);
|
||||
after.setAccessType(ACCESS_FORMAL);
|
||||
after.setApprovalStatus(APPROVAL_APPROVED);
|
||||
|
||||
Reference in New Issue
Block a user