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());