|
@@ -54,9 +54,9 @@ public class DiagnosisVersionInfoController {
|
|
|
return dvIoService.edit(diagnosisVersionVO);
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/getById/{id}")
|
|
|
+ @GetMapping("/getById")
|
|
|
@ApiOperation("根据id获取诊断程序")
|
|
|
- public Result getByUserId(@PathVariable(value = "id")Integer id){
|
|
|
+ public Result getByUserId(@RequestParam Integer id){
|
|
|
|
|
|
return dvIoService.getByUserId(id);
|
|
|
}
|
|
@@ -76,20 +76,20 @@ public class DiagnosisVersionInfoController {
|
|
|
return dvIoService.getPageList(pageIndex,pageSize,username);
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/release/{id}")
|
|
|
- public Result release(@PathVariable(value = "id")Integer id){
|
|
|
+ @GetMapping("/release")
|
|
|
+ public Result release(@RequestParam Integer id){
|
|
|
|
|
|
return dvIoService.release(id);
|
|
|
}
|
|
|
|
|
|
|
|
|
- @PostMapping("/repeal/{id}")
|
|
|
- public Result repeal(@PathVariable(value = "id")Integer id){
|
|
|
+ @PostMapping("/repeal")
|
|
|
+ public Result repeal(@RequestParam Integer id){
|
|
|
|
|
|
return dvIoService.repeal(id);
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/upStatus")
|
|
|
+ @GetMapping("/upStatus")
|
|
|
@ApiOperation("修改诊断程序状态")
|
|
|
public Result upStatus(@RequestBody UpStatusDto upStatusDto){
|
|
|
|