Merge remote-tracking branch 'origin/master'

master
OathK1per 2022-08-15 15:15:59 +08:00
commit 17bac51b42
1 changed files with 5 additions and 2 deletions

View File

@ -71,10 +71,13 @@ public class ActListenerService {
* @param processInstance
*/
private void updateProjectApprover(List<String> candidateUsers, ProcessInstance processInstance, String procDefId, String taskDefKey) {
String businessKey = processInstance.getBusinessKey();
ActTaskDef actTaskDef = actTaskDefService.findFirstByProcDefIdAndTaskKey(procDefId, taskDefKey);
if (processInstance == null) {
return;
}
try {
String businessKey = processInstance.getBusinessKey();
ActTaskDef actTaskDef = actTaskDefService.findFirstByProcDefIdAndTaskKey(procDefId, taskDefKey);
int adminId = 0;
if (!candidateUsers.isEmpty() && actTaskDef!=null && actTaskDef.getTaskIndex() != ActConstant.TASK_INDEX_FIRST_USER_TASK) {
//回退到发起节点 审批人设置为空