修复了Task在update时如果完全没有改动会报错的问题
parent
70ecdff768
commit
7e15ea8ed6
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue