| | |
| | | @AppAuth(memo = "MES调用出库") |
| | | public synchronized R outbound(@RequestHeader(required = false) String appkey, |
| | | @RequestBody(required = false) OutBoundParam param, |
| | | HttpServletRequest request) throws InterruptedException { |
| | | HttpServletRequest request) { |
| | | auth(appkey, param, request); |
| | | if (Cools.isEmpty(param.getEndLocation(),param.getLocDtos())) { |
| | | if (Cools.isEmpty(param.getEndLocation(),param.getBarcode(),param.getOrderNo())) { |
| | | return R.parse(BaseRes.PARAM); |
| | | } |
| | | |
| | | return openService.outbound(param.getLocDtos(),param.getEndLocation()); |
| | | return openService.outbound(param); |
| | | } |
| | | |
| | | @PostMapping("/order/matSync/default/v1") |