update 任务不存在提示语
This commit is contained in:
+1
-1
@@ -296,7 +296,7 @@ public class ProcessHandleServiceImpl implements IProcessHandleService {
|
||||
}
|
||||
Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
|
||||
if (Objects.isNull(task)) {
|
||||
throw new JeroBootException(ResultCommon.NO_CORRESPONDING_DATA_FOUND);
|
||||
throw new JeroBootException(ResultCommon.TASK_NOT_EXISTS);
|
||||
}
|
||||
//if (!CurrentUserUtil.getId().equals(task.getAssignee())) {
|
||||
// throw new JeroBootException(ResultCommon.NO_PERMISSION);
|
||||
|
||||
Reference in New Issue
Block a user