修复了Task在update时如果完全没有改动会报错的问题

master
ArgonarioD 2022-07-14 15:25:02 +08:00
parent 70ecdff768
commit 7e15ea8ed6
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ public class TaskController {
throw new BadRequestException(IProjectService.PROJECT_UNOPENED);
task.setTaskProjectId(projectId);
task.setTaskId(taskId);
task.setDeleted(false);
taskService.modifyTask(token, task);
return ResponseMap.ofSuccess();
}