自动化立体仓库 - WMS系统
zyx
2024-02-18 16daa2a44e5fa705e671f5ff18631eb26ad70d40
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)){