调研流程重复的部门对接人和部长 相同情况下需要合并为一条待办
This commit is contained in:
@@ -96,10 +96,16 @@ public class ResponUserSignAfter implements TaskListener {
|
||||
count++;
|
||||
delegateTask.setVariable("task2OKCount",count);
|
||||
}
|
||||
if(count>=delegateTask.getVariable("responUserLists",List.class).size()){
|
||||
if(count>=responUserList.size()){
|
||||
if(delegateTask.getVariable("actionFlag",Integer.class)==0){
|
||||
if(nextUserList != null && !nextUserList.isEmpty()){
|
||||
for(String nextUser : nextUserList){
|
||||
List<String> res=new ArrayList<>();
|
||||
nextUserList.forEach(s -> {
|
||||
if (!res.contains(s)){
|
||||
res.add(s);
|
||||
}
|
||||
});
|
||||
for(String nextUser : res){
|
||||
BusProcessNew busProcessNewNext = new BusProcessNew();
|
||||
busProcessNewNext.setMsgType("clause");
|
||||
busProcessNewNext.setPId(delegateTask.getProcessInstanceId());
|
||||
|
||||
Reference in New Issue
Block a user