修复获取是否发送通知字段时空指针问题
This commit is contained in:
parent
8003bcc707
commit
75bc7cb791
@ -84,7 +84,7 @@ public class ProcessEndAfterEvent extends ExecuteListener implements ExecuteList
|
||||
return;
|
||||
}
|
||||
//是否发送通知
|
||||
Integer sendNotification = Integer.getInteger(byProcess.getString("NOTIFICATION"));
|
||||
Integer sendNotification = Integer.valueOf(byProcess.getString("NOTIFICATION"));
|
||||
String publshId = byProcess.getString("PUBLISHUSPROSSINSID");
|
||||
// 发布流程发布节点任务Id
|
||||
String sql = "SELECT ID FROM WFH_TASK WHERE PROCESSINSTID = '" + publshId
|
||||
@ -337,7 +337,7 @@ public class ProcessEndAfterEvent extends ExecuteListener implements ExecuteList
|
||||
//更新权限范围
|
||||
updatePerm(publshId, pec.getProcessInstance().getTitle(), newOrg, newPost, newLevel);
|
||||
|
||||
if(sendNotification == 1) return;
|
||||
if(sendNotification == 0) return;
|
||||
|
||||
|
||||
// 发布流程实例
|
||||
|
||||
Loading…
Reference in New Issue
Block a user