feat: There is no way the
This commit is contained in:
@@ -60,7 +60,7 @@ public class BussLibrary10After implements TaskListener{
|
||||
nextUserList.add(object.getString("zrUserId"));
|
||||
|
||||
BussUtils.approvalFunc2(delegateTask, object, prcName, nextUserList);
|
||||
delegateTask.setVariable("bzFlag", 0);
|
||||
delegateTask.setVariable("fzrFlag", 0);
|
||||
}else {
|
||||
throw new ActivitiException("1#2副主任用户参数不存在,请配置相关用户");
|
||||
}
|
||||
@@ -79,7 +79,7 @@ public class BussLibrary10After implements TaskListener{
|
||||
|
||||
BussUtils.approvalFunc1(delegateTask, busBean, object, prcName,"1");
|
||||
delegateTask.setVariable("cxdUserId",object.getString("zqcUsrId"));
|
||||
delegateTask.setVariable("bzFlag", 1);
|
||||
delegateTask.setVariable("fzrFlag", 1);
|
||||
}else {
|
||||
throw new ActivitiException("1#2修订用户参数不存在,请配置相关用户");
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ public class BussLibrary4After implements TaskListener{
|
||||
busBean.save(busProcessNew);
|
||||
|
||||
BussUtils.approvalFunc1(delegateTask, busBean, object, prcName,"1");
|
||||
delegateTask.setVariable("hzUserId",object.getString("zqcUsrId"));
|
||||
delegateTask.setVariable("chzUserId",object.getString("zqcUsrId"));
|
||||
delegateTask.setVariable("bzhFlag", 1);
|
||||
}else {
|
||||
throw new ActivitiException("1#2汇总用户参数不存在,请配置相关用户");
|
||||
|
||||
@@ -36,9 +36,9 @@ public class BussLibrary7After implements TaskListener{
|
||||
|
||||
List<String> nextUserList = new ArrayList();
|
||||
|
||||
if(StringUtils.isNotBlank(object.getString("fzrUserId"))){
|
||||
delegateTask.setVariable("fzrUserId",object.getString("fzrUserId"));
|
||||
nextUserList.add(object.getString("fzrUserId"));
|
||||
if(StringUtils.isNotBlank(object.getString("jsfzrUserId"))){
|
||||
delegateTask.setVariable("jsfzrUserId",object.getString("jsfzrUserId"));
|
||||
nextUserList.add(object.getString("jsfzrUserId"));
|
||||
}else {
|
||||
throw new ActivitiException("1#2标准化员不存在,请配置相关人员");
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ public class BussLibrary8After implements TaskListener{
|
||||
nextUserList.add(object.getString("bzUserId"));
|
||||
|
||||
BussUtils.approvalFunc2(delegateTask, object, prcName, nextUserList);
|
||||
delegateTask.setVariable("bzhFlag", 0);
|
||||
delegateTask.setVariable("jsfzrFlag", 0);
|
||||
}else {
|
||||
throw new ActivitiException("1#2部长用户参数不存在,请配置相关用户");
|
||||
}
|
||||
@@ -79,7 +79,7 @@ public class BussLibrary8After implements TaskListener{
|
||||
|
||||
BussUtils.approvalFunc1(delegateTask, busBean, object, prcName,"1");
|
||||
delegateTask.setVariable("cxdUserId",object.getString("zqcUsrId"));
|
||||
delegateTask.setVariable("bzhFlag", 1);
|
||||
delegateTask.setVariable("jsfzrFlag", 1);
|
||||
}else {
|
||||
throw new ActivitiException("1#2 提交OR驳回参数不存在");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user