| | |
| | | |
| | | 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; |
| | |
| | | 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()); |
| | |
| | | } |
| | | |
| | | 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("三车间"); |