Browse Source

fix: 修复参数名

master_tdsql
hxh 11 months ago
parent
commit
0e40aa6176
  1. 4
      shuili-system/src/main/java/com/kms/yxgh/df/controller/DfCheckingLineController.java
  2. 2
      shuili-system/src/main/java/com/kms/yxgh/df/controller/DfPlanController.java
  3. 2
      shuili-system/src/main/java/com/kms/yxgh/df/controller/DfRecordController.java

4
shuili-system/src/main/java/com/kms/yxgh/df/controller/DfCheckingLineController.java

@ -78,8 +78,8 @@ public class DfCheckingLineController {
@ApiOperation("堤防巡视检查路线删除")
@Log(title = "堤防巡视检查路线删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public Response<Boolean> remove(@PathVariable String[] id) {
return Response.ok(dfCheckingLineService.deleteById(id));
public Response<Boolean> remove(@PathVariable("ids") String[] ids) {
return Response.ok(dfCheckingLineService.deleteById(ids));
}
}

2
shuili-system/src/main/java/com/kms/yxgh/df/controller/DfPlanController.java

@ -75,7 +75,7 @@ public class DfPlanController {
@ApiOperation("堤防巡视检查计划删除")
@Log(title = "堤防巡视检查计划删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public Response<Boolean> remove(@PathVariable String[] ids) {
public Response<Boolean> remove(@PathVariable("ids") String[] ids) {
return Response.ok(dfPlanService.deleteById(ids));
}

2
shuili-system/src/main/java/com/kms/yxgh/df/controller/DfRecordController.java

@ -80,7 +80,7 @@ public class DfRecordController {
@ApiOperation("堤防巡视检查记录删除")
@Log(title = "堤防巡视检查记录删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public Response<Boolean> remove(@PathVariable String[] ids) {
public Response<Boolean> remove(@PathVariable("ids") String[] ids) {
return Response.ok(dfRecordService.deleteById(ids));
}

Loading…
Cancel
Save