src/main/java/com/whyc/service/SoftwareService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/service/SoftwareService.java
@@ -108,6 +108,7 @@ Cell cell = sheet.getRow(8 + i).getCell(2); cell.setCellType(Cell.CELL_TYPE_STRING); String stringCellValue = cell.getStringCellValue(); if(!stringCellValue.equals("")) { int length = stringCellValue.length(); if(length == 9){ stringCellValue = "0"+stringCellValue; @@ -121,6 +122,7 @@ String strBehind = stringCellValue.substring(3); stringCellValue = "0"+strFront+centerZeroStr+strBehind; } } software.setApplyMaterialCode(stringCellValue); software.setApplyModel(sheet.getRow(8+i).getCell(4).getStringCellValue());