update 任务不存在提示语

This commit is contained in:
lijiarao
2024-02-01 14:27:53 +08:00
parent f997273b32
commit 7982f04953
@@ -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);