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 c1c0847d..8d6ad9f1 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 @@ -1132,8 +1132,6 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe } private void handleBusinessDataSave(StandardInterpretFlowDTO standardInterpretFlowDTO) { - // map(参数) - Map map = standardInterpretFlowDTO.getMap(); // 流程全局删除ids List processAllDelIds = standardInterpretFlowDTO.getProcessAllDelIds(); StandardInterpretDTO data = standardInterpretFlowDTO.getData(); @@ -1260,7 +1258,9 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe .eq(SarFileSplitInfoEO::getStandardId, processStandardInterpret.getStandardId()) .eq(SarFileSplitInfoEO::getFileType, processStandardInterpret.getDecompositionSource()) .isNull(SarFileSplitInfoEO::getPublishBeforeId), false); - processStandardInterpret.setSplitInfoId(sarFileSplitInfoEO.getId()); + if (!Objects.isNull(sarFileSplitInfoEO)){ + processStandardInterpret.setSplitInfoId(sarFileSplitInfoEO.getId()); + } processStandardInterpretService.saveOrUpdate(processStandardInterpret); // 如果没选择条款 if (CollectionUtils.isEmpty(processStandardInterpretClauseList)){