fix(89137): 标准解读人重新分发节点丢失问题修复
This commit is contained in:
+7
@@ -1702,10 +1702,13 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
|
|||||||
processStandardInterpretClauseService.removeByIds(processAllDelIds);
|
processStandardInterpretClauseService.removeByIds(processAllDelIds);
|
||||||
|
|
||||||
// 重新分发节点特殊处理
|
// 重新分发节点特殊处理
|
||||||
|
int count = 0;
|
||||||
if (StandardInterpretCommon.MASTER_INTERPRET_AGAIN_DISTRIBUTE.equals(node)){
|
if (StandardInterpretCommon.MASTER_INTERPRET_AGAIN_DISTRIBUTE.equals(node)){
|
||||||
|
int size = processStandardInterpretClauseList.size();
|
||||||
processStandardInterpretClauseList = processStandardInterpretClauseList.stream()
|
processStandardInterpretClauseList = processStandardInterpretClauseList.stream()
|
||||||
.filter(v -> StringUtils.isNotBlank(v.getInterpretPersonIds()))
|
.filter(v -> StringUtils.isNotBlank(v.getInterpretPersonIds()))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
count = size - processStandardInterpretClauseList.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 更新 标准解读流程_条款中间表
|
// 更新 标准解读流程_条款中间表
|
||||||
@@ -1726,6 +1729,10 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
|
|||||||
new ArrayList<>();
|
new ArrayList<>();
|
||||||
// 未分配数量
|
// 未分配数量
|
||||||
int unallocatedQuantity = 0;
|
int unallocatedQuantity = 0;
|
||||||
|
// 重新分发节点特殊处理
|
||||||
|
if (StandardInterpretCommon.MASTER_INTERPRET_AGAIN_DISTRIBUTE.equals(node)){
|
||||||
|
unallocatedQuantity = count;
|
||||||
|
}
|
||||||
// 子解读人
|
// 子解读人
|
||||||
List<String> interpretPersonIdList = new ArrayList<>();
|
List<String> interpretPersonIdList = new ArrayList<>();
|
||||||
// 要分发的数据中间表id
|
// 要分发的数据中间表id
|
||||||
|
|||||||
Reference in New Issue
Block a user