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)){