From abc75a18a964d53bbb1ee816d903ddc69f2ef7e4 Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Tue, 30 Jul 2024 11:36:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(87366):=20=E6=A0=87=E5=87=86=E8=A7=A3?= =?UTF-8?q?=E8=AF=BB=E6=B5=81=E7=A8=8B--=E4=B8=BB=E6=8E=A7=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E8=81=94=E7=BB=9C=E4=BA=BA=E5=88=86=E5=8F=91--?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E5=88=86=E6=B4=BE=E4=BF=A1=E6=81=AF=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=9C=AA=E6=AD=A3=E7=A1=AE=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/StandardInterpretFlowServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java index dd37df8b..c8cf83e4 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java @@ -1374,12 +1374,11 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe if (!Objects.isNull(sarFileSplitInfoEO)){ processStandardInterpret.setSplitInfoId(sarFileSplitInfoEO.getId()); } - processStandardInterpretService.saveOrUpdate(processStandardInterpret); // 如果选择了不带入 if (StandardInterpretCommon.NONCARRY.equals(processStandardInterpret.getDecompositionSource()) && CollectionUtils.isEmpty(processStandardInterpretClauseList)){ - processStandardInterpret.setChooseClause(YesOrNoEnum.YES.getValue()); + processStandardInterpret.setChooseClause(YesOrNoEnum.NO.getValue()); ProcessStandardInterpretClause processStandardInterpretClause = new ProcessStandardInterpretClause(); @@ -1396,6 +1395,8 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe getClauseList(processStandardInterpret.getStandardId(), processStandardInterpret.getDecompositionSource()); } + processStandardInterpretService.saveOrUpdate(processStandardInterpret); + // 设置关联关系 for (ProcessStandardInterpretClause standardInterpretClause : processStandardInterpretClauseList) { standardInterpretClause.setDecompositionSource(processStandardInterpret.getDecompositionSource());