| | |
| | | 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); |
| | | } |
| | | |
| | | } |