From a285753db55621637e382f8808dbe9f2895dd5f7 Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Wed, 21 Aug 2024 16:56:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(89137):=20=E6=A0=87=E5=87=86=E8=A7=A3?= =?UTF-8?q?=E8=AF=BB=E4=BA=BA=E9=87=8D=E6=96=B0=E5=88=86=E5=8F=91=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E4=B8=A2=E5=A4=B1=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 | 7 +++++++ 1 file changed, 7 insertions(+) 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 7afe0df2..f80a2cc3 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 @@ -1702,10 +1702,13 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe processStandardInterpretClauseService.removeByIds(processAllDelIds); // 重新分发节点特殊处理 + int count = 0; if (StandardInterpretCommon.MASTER_INTERPRET_AGAIN_DISTRIBUTE.equals(node)){ + int size = processStandardInterpretClauseList.size(); processStandardInterpretClauseList = processStandardInterpretClauseList.stream() .filter(v -> StringUtils.isNotBlank(v.getInterpretPersonIds())) .collect(Collectors.toList()); + count = size - processStandardInterpretClauseList.size(); } // 更新 标准解读流程_条款中间表 @@ -1726,6 +1729,10 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe new ArrayList<>(); // 未分配数量 int unallocatedQuantity = 0; + // 重新分发节点特殊处理 + if (StandardInterpretCommon.MASTER_INTERPRET_AGAIN_DISTRIBUTE.equals(node)){ + unallocatedQuantity = count; + } // 子解读人 List interpretPersonIdList = new ArrayList<>(); // 要分发的数据中间表id