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

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