From eb2e707831792a336dcdb3b2e10239aa445b7b85 Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Mon, 15 Jul 2024 09:10:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=A0=87=E5=87=86=E8=A7=A3=E8=AF=BB?= =?UTF-8?q?=E6=B5=81=E7=A8=8B):=20=E4=B8=8D=E5=B8=A6=E5=85=A5=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=8F=91=E8=B5=B7=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/StandardInterpretFlowServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 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 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)){