🐛 MK流程结束直接同步客商审核通过并完善异常日志

流程状态30时不再校验复评,避免卡在审核中;同步失败补充明确错误日志。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-25 17:45:14 +08:00
parent feb0ce8ee2
commit e09380e902
3 changed files with 5 additions and 1 deletions
@@ -153,6 +153,8 @@ public class MkProcessMessageService {
} }
} catch (NumberFormatException e) { } catch (NumberFormatException e) {
log.warn("流程{}但业务id格式不正确 bizType={} id={}", action, bizType, bizIdText); log.warn("流程{}但业务id格式不正确 bizType={} id={}", action, bizType, bizIdText);
} catch (Exception e) {
log.error("流程{}同步业务状态失败 bizType={} id={} processId={}", action, bizType, bizIdText, processId, e);
} }
} }
@@ -145,6 +145,8 @@ public class CustomerArchivePublicProcessService {
} }
} catch (NumberFormatException e) { } catch (NumberFormatException e) {
log.warn("流程{}但客商id格式不正确:{}", action, customerIdText); log.warn("流程{}但客商id格式不正确:{}", action, customerIdText);
} catch (Exception e) {
log.error("流程{}同步客商状态失败 id={} processId={}", action, customerIdText, processId, e);
} }
} }
@@ -324,7 +324,7 @@ public class CustomerArchiveServiceImpl extends BaseServiceImpl<CustomerArchiveM
log.info("流程结束审核通过跳过,客商已是审核通过 id={}", id); log.info("流程结束审核通过跳过,客商已是审核通过 id={}", id);
return true; return true;
} }
validateReviewCompleted(buildDetail(before)); // MK 流程已结束(fdProcessStatus=30),直接同步为审核通过,不再校验复评
CustomerArchive after = copyCustomer(before); CustomerArchive after = copyCustomer(before);
after.setAccessType(ACCESS_FORMAL); after.setAccessType(ACCESS_FORMAL);
after.setApprovalStatus(APPROVAL_APPROVED); after.setApprovalStatus(APPROVAL_APPROVED);