征求意见流程!!
This commit is contained in:
+7
-3
@@ -58,7 +58,11 @@ public class SelectResponsibleUserAfter implements TaskListener {
|
||||
}
|
||||
|
||||
delegateTask.setVariable("responUserList",responUserList);
|
||||
delegateTask.setVariable("responUserLists",strings);
|
||||
if (null == delegateTask.getVariable("responUserLists",List.class)){
|
||||
delegateTask.setVariable("responUserLists",strings);
|
||||
}else {
|
||||
delegateTask.getVariable("responUserLists", List.class).addAll(strings);
|
||||
}
|
||||
delegateTask.setVariable("datas",map);
|
||||
|
||||
|
||||
@@ -101,7 +105,7 @@ public class SelectResponsibleUserAfter implements TaskListener {
|
||||
count++;
|
||||
delegateTask.setVariable("selectResponCount",count);
|
||||
|
||||
if(count>=delegateTask.getVariable("dockUserList",List.class).size()){
|
||||
// if(count>=delegateTask.getVariable("dockUserList",List.class).size()){
|
||||
if(!responUserList.isEmpty()){
|
||||
for (int i = 0; i < responUserList.size(); i++) {
|
||||
JSONObject jsonObject = responUserList.getJSONObject(i);
|
||||
@@ -116,7 +120,7 @@ public class SelectResponsibleUserAfter implements TaskListener {
|
||||
busProcessNewNext.setPrcName(prcName);
|
||||
busBean.save(busProcessNewNext);
|
||||
}
|
||||
}
|
||||
// }
|
||||
}
|
||||
// throw new ActivitiException("dahsdgadiauhfugauyfgqffiygv");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user