自动化立体仓库 - WMS系统
#
lsh
2024-10-24 14139045c387d6599d9fd46c2142f32cde3a03a9
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -876,16 +876,16 @@
            throw new CoolException("参数:物料明细 matLists为空");
        }
//        if (Cools.isEmpty(param.getBarcode())){
//            throw new CoolException("参数:托盘码 barcode为空");
//        }
//        WrkMast wrkMastMatrix = wrkMastService.selectByBarcode(param.getBarcode());
//        if (Cools.isEmpty(wrkMastMatrix)){
//            throw new CoolException("参数:托盘码查询工作档失败:"+param.getBarcode());
//        }
//        if (!wrkMastMatrix.getSheetNo().equals("1")){
//            throw new CoolException("参数:此任务未上报禁止完成:"+param.getBarcode());
//        }
        if (Cools.isEmpty(param.getBarcode())){
            throw new CoolException("参数:托盘码 barcode为空");
        }
        WrkMast wrkMastMatrix = wrkMastService.selectByBarcode(param.getBarcode());
        if (Cools.isEmpty(wrkMastMatrix)){
            throw new CoolException("参数:托盘码查询工作档失败:"+param.getBarcode());
        }
        if (!wrkMastMatrix.getSheetNo().equals("1")){
            throw new CoolException("参数:此任务未上报禁止完成:"+param.getBarcode());
        }
        ArrayList<WrkDetl> wrkDetlsNew = new ArrayList<>();
        ArrayList<WrkDetlSingle> wrkDetlsOld = new ArrayList<>();