关闭了未完成业务的数据库操作
parent
e70e0c5f5a
commit
d98b6d3928
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue