| | |
| | | return R.error("订单不存在!");
|
| | | }
|
| | |
|
| | | List<OrderInfoDto> orders = orderService.getDetlForOrderId(order.getId());
|
| | |
|
| | |
|
| | | List<OrderInfoDto> orders = orderService.getDetlForOrderId(order.getId() , barcode.get("matnr"));
|
| | |
|
| | | return R.ok(orders);
|
| | | }
|
| | |
| | | }
|
| | |
|
| | |
|
| | | @ApiOperation("获取库位详细")
|
| | | @GetMapping("/flat/transfer/{barcode}")
|
| | | public R getDetlsBycode(@PathVariable String barcode) {
|
| | | if (Objects.isNull(barcode)) {
|
| | | return R.error("参数不能为空!!");
|
| | | }
|
| | | return R.ok().add(mobileService.getDetlsByCode(barcode));
|
| | | }
|
| | |
|
| | |
|
| | | @ApiOperation("平板转移")
|
| | | @PostMapping("/locs/transfer")
|
| | | public R changeFlatBarcode(@RequestBody Map<String, String> param) {
|
| | | if (Objects.isNull(param)) {
|
| | | return R.error("参数不能为空!!");
|
| | | }
|
| | | if (Objects.isNull(param.get("barcode"))) {
|
| | | return R.error("源库位不能为空!!");
|
| | | }
|
| | | if (Objects.isNull(param.get("tarCode"))) {
|
| | | return R.error("目标库位不能为空!!");
|
| | | }
|
| | |
|
| | | return mobileService.transferLocs(param);
|
| | | }
|
| | |
|
| | | /**
|
| | | * 获取发货订单明细
|
| | | * @return
|
| | |
| | | if (params.isEmpty()) {
|
| | | throw new CoolException("发货单明细不能为空!!");
|
| | | }
|
| | |
|
| | | return mobileService.confirmShippingDetl(params);
|
| | | }
|
| | | }
|