| | |
| | | import java.util.Objects; |
| | | |
| | | @RestController |
| | | @RequestMapping("/erp") |
| | | @RequestMapping("/erp1") |
| | | @Api("ERP接口对接") |
| | | public class WmsErpController { |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @ApiOperation("单据修改") |
| | | @PostMapping("/order/upadte") |
| | | @PostMapping("/order/update") |
| | | public CommonResponse modifyOrderDtel(@RequestBody ErpOpParams params) { |
| | | if (Objects.isNull(params)) { |
| | | throw new CoolException("参数不能为空!!"); |
| | |
| | | @ApiOperation("订单信息上报") |
| | | @PostMapping("/report/order") |
| | | public CommonResponse reportOrders(@RequestBody ReportParams params) { |
| | | if (true){ |
| | | return CommonResponse.ok(); |
| | | } |
| | | if (Objects.isNull(params)) { |
| | | throw new CoolException("参数不能为空!!"); |
| | | } |