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