longyvfengyun
2022-07-19 bace2ae27da05bcdcca2bc3b1ee543b93ac7e3f7
src/main/java/com/whyc/service/ProductBomApprovingService.java
@@ -25,7 +25,7 @@
        Sheet sheet = workbook.getSheetAt(0);
        int lastRowNum = sheet.getLastRowNum();
        //取第三行,并以第三行开始
        Row row2 = sheet.getRow(2);
        Row row2 = sheet.getRow(1);
        short lastCellNum = row2.getLastCellNum();
        for (int i = 2; i < lastRowNum; i++) {
            ProductBomApproving bomApproving = new ProductBomApproving();
@@ -34,9 +34,9 @@
                Cell cell = row.getCell(j);
                String cellValue = null;
                Double cellValueInt = 0d;
                if(i == 9){
                if(j == 9){
                    cellValueInt = cell.getNumericCellValue();
                }else if(i!=15){
                }else if(j!=15){
                    cellValue = cell.getStringCellValue();
                }
                switch (j){