This commit is contained in:
wangliwen 2022-08-24 09:33:27 +08:00
parent 2e79af48c1
commit b41e48528d
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ public class ApplyDeptListener implements TaskListener, ExecutionListener, Activ
} else {
logger.error("未查到 {} 对应 " + roleName, deptDTO.getName());
taskService.setAssignee(delegateTask.getId(), defaultAssigneeRoleId);
assignee = null;
assignee = defaultAssigneeRoleId;
}
logger.error("分配的用户id为:{}", assignee);
}

View File

@ -97,7 +97,7 @@ public class OwnerDistrictListener implements TaskListener, ExecutionListener, A
} else {
logger.error("未查到 {} 对应 " + roleName, deptDTO.getName());
taskService.setAssignee(delegateTask.getId(), defaultAssigneeRoleId);
assignee = null;
assignee = defaultAssigneeRoleId;
}
logger.error("分配的用户id为:{}", assignee);
}