src/main/java/org/jeecg/modules/cms/controller/CuttingReceiveController.java
@@ -159,6 +159,11 @@ cuttingInventoryService.restoreStatus(inventoryIds); } //删除刀具领用明细表的数据 cuttingReceiveDetailService.remove (new QueryWrapper<CuttingReceiveDetail>().eq("order_id", id)); return Result.OK("删除成功!"); } @@ -171,7 +176,6 @@ @DeleteMapping(value = "/deleteBatch") public Result<String> deleteBatch(@RequestParam(name = "ids") String ids) { this.cuttingReceiveService.removeByIds(Arrays.asList(ids.split(","))); //FIXME: 批量删除时,库存状态未恢复。也需要批量恢复库存状态。 return Result.OK("批量删除成功!"); }