自动化立体仓库 - WMS系统
pang.jiabao
昨天 996c93b444d441373b81cfdebcc9cc47e097b8d6
src/main/java/com/zy/asrs/utils/PlaExcelListener.java
@@ -29,6 +29,7 @@
    private static final String OWNER_HZ = "海正生物";
    private static final String OWNER_HNE = "海诺尔";
    private static final String OWNER_HCD = "海创达";
    private int total = 0;
    private int index = 1;
@@ -120,6 +121,7 @@
            pla.setVadf2(excel.getVadf2());
            pla.setYellowness(excel.getYellowness());
            pla.setOpacity(excel.getOpacity());
            pla.setLactideContent(excel.getLactideContent());
            pla.setL(excel.getL());
            pla.setA(excel.getA());
            pla.setB(excel.getB());
@@ -174,10 +176,13 @@
        }
        if(Cools.isEmpty(pla.getOwner()) && Cools.isEmpty(pla.getWorkshop())){
            if("纯树脂".equals(pla.getType())){
            if("纯树脂".equals(pla.getType()) || "副产物".equals(pla.getType()) || "机头料".equals(pla.getType())){
                if("01".equals(line) || "02".equals(line)){
                    pla.setOwner(OWNER_HZ);
                    pla.setWorkshop("一车间");
                } else if("07".equals(line) || "08".equals(line)) {
                    pla.setOwner(OWNER_HCD);
                    pla.setWorkshop("七车间");
                }else {
                    pla.setOwner(OWNER_HNE);
                    pla.setWorkshop("三车间");