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