|
@@ -1,6 +1,7 @@
|
|
|
package com.om.controller.admin;
|
|
|
|
|
|
|
|
|
+import com.om.entity.dto.AppBaseDTO;
|
|
|
import com.om.entity.dto.RepairDTO;
|
|
|
import com.om.entity.dto.RepairQueryPageDTO;
|
|
|
import com.om.entity.vo.RepairQueryPageVO;
|
|
@@ -38,9 +39,8 @@ public class RepairController {
|
|
|
|
|
|
@GetMapping("/delete")
|
|
|
@ApiOperation("删除诊断报告")
|
|
|
- Result delete (@RequestParam Integer id){
|
|
|
-
|
|
|
- return repairService.delete(id);
|
|
|
+ Result delete (@RequestBody AppBaseDTO dto){
|
|
|
+ return repairService.delete(dto);
|
|
|
}
|
|
|
@GetMapping("/getById")
|
|
|
@ApiOperation("获取指定指定报告")
|