fix(89137): 标准解读人重新分发节点丢失问题修复

This commit is contained in:
yjz
2024-08-21 16:56:20 +08:00
parent 3aacbb96f9
commit a285753db5
@@ -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<String> interpretPersonIdList = new ArrayList<>();
// 要分发的数据中间表id