关闭了未完成业务的数据库操作

master
白封羽 2022-07-01 18:15:01 +08:00
parent e70e0c5f5a
commit d98b6d3928
1 changed files with 5 additions and 3 deletions

View File

@ -72,6 +72,7 @@ public class ProjectController {
return ResponseMap.ofSuccess("操作成功");
}
//TODO:该业务尚未实现
@SneakyThrows
@PutMapping("/{projectId}")
public ResponseMap updateProject(
@ -79,8 +80,9 @@ public class ProjectController {
@PathVariable Integer projectId,
@RequestBody Project project
) {
project.setProjectId(projectId);
projectService.updateById(project);
return ResponseMap.ofSuccess("操作成功");
//project.setProjectId(projectId);
//projectService.updateById(project);
//return ResponseMap.ofSuccess("操作成功");
return null;
}
}