标准清单流程bug修复
This commit is contained in:
+3
-3
@@ -40,9 +40,9 @@ public class CountersignSRPAfter implements TaskListener{
|
||||
|
||||
// JSONObject array = object.getJSONObject("hqsqForm");
|
||||
|
||||
if(StringUtils.isNotBlank(object.getString("applyUpdUserId"))){
|
||||
delegateTask.setVariable("applyUserId",object.getString("applyUpdUserId"));
|
||||
nextUserList.add(object.getString("applyUpdUserId"));
|
||||
if(StringUtils.isNotBlank(delegateTask.getVariable("createUser",String.class))){
|
||||
delegateTask.setVariable("applyUserId",delegateTask.getVariable("createUser",String.class));
|
||||
nextUserList.add(delegateTask.getVariable("createUser",String.class));
|
||||
}else {
|
||||
throw new ActivitiException("1#2申请人修订用户不存在,请配置相关人员");
|
||||
}
|
||||
|
||||
@@ -85,7 +85,9 @@ public class SRPstartAfter implements TaskListener {
|
||||
//截止时间 流程描述 创建人
|
||||
String OVERTIME = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
|
||||
String user = object.getString("prcCreateUser");
|
||||
delegateTask.setVariable("createUser",user);
|
||||
String username = object.getString("prcCreateUserName");
|
||||
delegateTask.setVariable("createUserName",username);
|
||||
String standName = object.getString("standName");
|
||||
String prcName="";
|
||||
if(object.getString("signFlag").equals("1")) {
|
||||
|
||||
Reference in New Issue
Block a user