自动化立体仓库 - WMS系统
zyx
2024-02-20 7386177e736bb47a6b1a5d2f227177964cc8ab8d
src/main/java/com/zy/asrs/utils/PlaExcelListener.java
@@ -83,9 +83,15 @@
                throw new CoolException("无法找到对应的牌号信息,牌号=" + pla.getBrand());
            }
            pla.setMatnr(mat.getMatnr());
            pla.setType(getType(mat.getMatnr()));
            //车间、产线、主体
            setPla(pla);
            try {
                pla.setType(getType(mat.getMatnr()));
                //车间、产线、主体
                setPla(pla);
            }catch (Exception e){
                log.info(e.getMessage() + "Pla: " + pla.getBatch());
                throw new CoolException(e.getMessage());
            }
            if(!Cools.isEmpty(pla.getLocNo())){
                Node node = nodeService.selectByUuid(pla.getLocNo());
                if(Cools.isEmpty(node)){