zc
4 天以前 5ec416d5886273ae2d9eed3e7ab2c1c286a361a3
rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ReportMsgController.java
@@ -43,8 +43,22 @@
            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.getOrderType())) {
            return R.error("订单类型不能为空!!");
        }
        if (Objects.isNull(params.getAction()) || params.getAction().isEmpty()) {
            return R.error("上报明细不能为空!!");
        }
        return reportMsgService.uploadCheckOrder(params);
    }
}