liyong
2026-05-15 76c84d95506998f546e6f3ebbf70414c0dd9da9d
src/main/java/com/ruoyi/stock/controller/StockInRecordController.java
@@ -53,6 +53,14 @@
        return AjaxResult.success(stockInRecordService.batchDeletePending(ids));
    }
    @PutMapping("{id}")
    @Operation(summary = "修改入库记录")
    public AjaxResult update(@PathVariable Long id, @RequestBody StockInRecordDto stockInRecordDto){
        return AjaxResult.success(stockInRecordService.update(id,stockInRecordDto));
    }
    @PostMapping("/exportStockInRecord")
    @Operation(summary = "导出入库记录")
    public void exportStockInRecord(HttpServletResponse response, StockInRecordDto stockInRecordDto) {
@@ -66,7 +74,7 @@
        if(CollectionUtils.isEmpty(approveDto.getIds())){
            return AjaxResult.error("请选择至少一条数据");
        }
        stockInRecordService.batchApprove(approveDto.getIds(), approveDto.getApprovalStatus());
        stockInRecordService.batchApprove(approveDto.getIds(), approveDto.getApprovalStatus(),approveDto.getWarehouseInfoId());
        return AjaxResult.success();
    }