|
|
@ -162,9 +162,9 @@ public class ToolInventoryRecordController extends DafController { |
|
|
|
@ApiOperation(value = "逻辑删除", notes = "传入ids") |
|
|
|
@ApiOperation(value = "逻辑删除", notes = "传入ids") |
|
|
|
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
|
|
|
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
|
|
|
for (String id : ids.split(",")) { |
|
|
|
for (String id : ids.split(",")) { |
|
|
|
inventoryDocumentService.delInventoryDocument(Integer.parseInt(id)); |
|
|
|
inventoryDocumentService.delInventoryDocument(Long.parseLong(id)); |
|
|
|
techParametersService.delTechParameters(Integer.parseInt(id)); |
|
|
|
techParametersService.delTechParameters(Long.parseLong(id)); |
|
|
|
inspectionStandardsService.delInspectionStandards(Integer.parseInt(id)); |
|
|
|
inspectionStandardsService.delInspectionStandards(Long.parseLong(id)); |
|
|
|
} |
|
|
|
} |
|
|
|
return R.status(toolInventoryRecordService.deleteLogic(Func.toLongList(ids))); |
|
|
|
return R.status(toolInventoryRecordService.deleteLogic(Func.toLongList(ids))); |
|
|
|
} |
|
|
|
} |
|
|
|