bug: 政策征求意见流程会签节点人员抓取修改

This commit is contained in:
wxyclub
2024-04-12 16:01:57 +08:00
parent e4b6779e44
commit 04b7a6122c
@@ -46,11 +46,11 @@ public class PolicySolicitOpinionProcess12After implements TaskListener {
nextUserList.addAll(Arrays.asList(hqrUserIds.split(",")));
}
List<String> hqrUserIdList = (List<String>) delegateTask.getVariable("hqrUserIdList");
if (CollectionUtils.isNotEmpty(hqrUserIdList)) {
nextUserList.addAll(hqrUserIdList);
}
nextUserList = nextUserList.stream().distinct().collect(Collectors.toList());
// List<String> hqrUserIdList = (List<String>) delegateTask.getVariable("hqrUserIdList");
// if (CollectionUtils.isNotEmpty(hqrUserIdList)) {
// nextUserList.addAll(hqrUserIdList);
// }
// nextUserList = nextUserList.stream().distinct().collect(Collectors.toList());
delegateTask.setVariable("hqrUserIdList", nextUserList);
boolean existTaskFlag = taskTodoService.whetherExistTaskByTaskDefinitionKey(