|
@@ -288,6 +288,11 @@ public class NewWorkflowServiceImpl implements INewWorkflowService {
|
|
|
skipAdjacentSameApprover(processInstance);
|
|
|
}
|
|
|
}
|
|
|
+ List<CommonStaff> list = getTaskCandidates(workflowId,businessKey);
|
|
|
+ for (CommonStaff c :
|
|
|
+ list) {
|
|
|
+ geTuiUtils.pushByCid("审核任务","您有新的审核任务需要处理,请及时处理。",c.getStaffId());
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -341,7 +346,11 @@ public class NewWorkflowServiceImpl implements INewWorkflowService {
|
|
|
|
|
|
// 设置审批状态
|
|
|
setApprovedOnStart(instance);
|
|
|
-
|
|
|
+ List<CommonStaff> list = getTaskCandidates(workflowId,businessKey);
|
|
|
+ for (CommonStaff c :
|
|
|
+ list) {
|
|
|
+ geTuiUtils.pushByCid("审核任务","您有新的审核任务需要处理,请及时处理。",c.getStaffId());
|
|
|
+ }
|
|
|
return workflowId;
|
|
|
}
|
|
|
|