自动化立体仓库 - WMS系统
#
zjj
2024-09-04 06b6bb92988ff3723cd112a51b797be0af878dfb
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -92,11 +92,18 @@
            throw new CoolException(param.getBarcode() + "数据已经在库");
        }
        //判断托盘是否已经在工作档
        if (wrkMastService.selectCount(new EntityWrapper<WrkMast>()
                .eq("barcode", param.getBarcode())) > 0) {
            throw new CoolException(param.getBarcode() + "数据已经在任务档中");
        }
        //判断是否存在料箱码 => 存在料箱码则要求提交上来的物料list必须全部都有料箱码
        boolean hasContainerCode = false;
        int containerCodeCount = 0;//料箱码数量
        for (CombParam.CombMat combMat : param.getCombMats()) {
            if (combMat.getContainerCode() != null) {
            if(!Cools.isEmpty(combMat.getContainerCode())){
            //if (combMat.getContainerCode() != null) {
                hasContainerCode = true;
                containerCodeCount++;
                continue;