zjj
2025-04-09 a64d342c0371eadebc29dae2a60a9525ce95e222
rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/WarehouseAreasController.java
@@ -115,7 +115,7 @@
    @PostMapping("/warehouseAreas/update")
    public R update(@RequestBody WarehouseAreas warehouseAreas) {
        warehouseAreas.setUpdateBy(getLoginUserId());
        WarehouseAreas areas = warehouseAreasService.getById(warehouseAreas.getWarehouseId());
        WarehouseAreas areas = warehouseAreasService.getById(warehouseAreas.getId());
        if (Objects.isNull(areas)) {
            throw new CoolException("数据错误:仓库库区不存在!!");
        }