zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java
@@ -16,6 +16,7 @@
import com.zy.asrs.wms.asrs.entity.WaitPakin;
import com.zy.asrs.wms.asrs.entity.dto.OrderInfoDto;
import com.zy.asrs.wms.asrs.entity.dto.PickSheetDetlDto;
import com.zy.asrs.wms.asrs.entity.dto.ShippingOrderDetlDto;
import com.zy.asrs.wms.asrs.entity.param.BatchMergeOrdersParam;
import com.zy.asrs.wms.asrs.entity.param.PageRequest;
import com.zy.asrs.wms.asrs.entity.param.PakinOnShelvesParams;
@@ -73,10 +74,17 @@
     */
    @PostMapping("/mat/auth")
    public R getProductForBarcode(@RequestBody Map<String, String> barcode) {
        if (Objects.isNull(barcode)) {
            return  R.error("参数不能为空!!");
        }
        if (StringUtil.isNullOrEmpty(barcode.get("barcode"))) {
            return  R.error("条码不能为空!!");
        }
        Order order =  orderService.selectByBarcode(barcode.get("barcode"));
        if (Objects.isNull(order)) {
            return R.error("订单不存在!");
        }
        List<OrderInfoDto> orders = orderService.getDetlForOrderId(order.getId());
@@ -84,6 +92,7 @@
    }
    /**
     * 平库上架
     * PDA扫码入库
     * 1. 绑定库位号与拖盘码
     * 2. 库位置为在库状态
@@ -107,7 +116,7 @@
    }
    /**
     * 获取拖码盘绑定商品
     * 获取拖盘码绑定商品
     * @return
     */
    @GetMapping("/barcode/matnr/{code}")
@@ -238,7 +247,7 @@
            throw new CoolException("请求参数不能为空!!");
        }
        if (Objects.isNull(param.get("barcode"))) {
            throw new CoolException("容器编码不能为空");
            throw new CoolException("播种墙容器编码不能为空");
        }
        if (Objects.isNull(param.get("orderNo"))) {
            throw new CoolException("订单编号不能为空!!");
@@ -257,4 +266,31 @@
        }
    }
    /**
     * 获取发货订单明细
     * @return
     */
    @PostMapping("/shipping/order/detl")
    public R  getOrderDetl(@RequestBody Map<String, Object> params) {
        if (Objects.isNull(params)) {
            throw new CoolException("参数不能为空!!");
        }
        return mobileService.selectShippingDetl(params);
    }
    /**
     * 确认发货单明细
     * @return
     */
    @PostMapping("/shipping/confirm")
    public R confirmShipping(@RequestBody List<ShippingOrderDetlDto> params) {
        if (params.isEmpty()) {
            throw new CoolException("发货单明细不能为空!!");
        }
        return mobileService.confirmShippingDetl(params);
    }
}