chen.lin
1 天以前 bb4f5dc6bbf43616ca3482257b576c9c66c49ff5
rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ReportMsgController.java
@@ -43,8 +43,19 @@
            return R.error("上报明细不能为空!!");
        }
        return reportMsgService.reportOrders(params);
        return reportMsgService.uploadReportOrders(params);
    }
    @ApiOperation("盘点库存修改")
    @PostMapping("/orders/check/update")
    public R checkReport(@RequestBody ReportParams params) {
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }
        if (Objects.isNull(params.getAction()) || params.getAction().isEmpty()) {
            return R.error("上报明细不能为空!!");
        }
        return reportMsgService.uploadCheckOrder(params);
    }
}