From 16716e7a346931deee90b8a0f44a9aa3c3e6277f Mon Sep 17 00:00:00 2001 From: caihaohan Date: Wed, 24 Jul 2024 10:16:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20scc=E6=B5=81=E7=A8=8B=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BD=BF=E7=94=A8=E5=BC=82=E5=B8=B8=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../listener/ProcessSCCEndListener.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardComplianceCheck/listener/ProcessSCCEndListener.java b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardComplianceCheck/listener/ProcessSCCEndListener.java index 17013d2f..d1489325 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardComplianceCheck/listener/ProcessSCCEndListener.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardComplianceCheck/listener/ProcessSCCEndListener.java @@ -109,7 +109,11 @@ public class ProcessSCCEndListener implements ExecutionListener { lawsConformityAssessmentLibrary.setAllApprovalUser(allApprovalUsers); lawsConformityAssessmentLibrary.setAllAssessor(allAssessors); calService.save(lawsConformityAssessmentLibrary); - lawsStandardMasterPlanService.syncRegulatoryComplianceInvestigation(lawsConformityAssessmentLibrary); + try { + lawsStandardMasterPlanService.syncRegulatoryComplianceInvestigation(lawsConformityAssessmentLibrary); + } catch (Exception e) { + log.error("同步法规评估库失败", e); + } } else { // 获取最晚的评估日期 Optional latestEvaluation = list.stream()