Sfoglia il codice sorgente

导入文件字段更改

yue 5 anni fa
parent
commit
2be322216f

+ 9 - 8
src/main/java/com/jeeplus/modules/sg/information/utils/ImportInformation.java

@@ -235,14 +235,14 @@ public  class ImportInformation {
                     Object projectStart = ei.getCellValue(row, 14);
                     Object projectStop = ei.getCellValue(row, 15);
                     Object department = ei.getCellValue(row, 16);
-                    Object projectFirm = ei.getCellValue(row, 38);
-                    Object subDate = ei.getCellValue(row, 40);
-                    Object releaseDate = ei.getCellValue(row, 41);
-                    Object endDate = ei.getCellValue(row, 42);
-                    Object resultDate = ei.getCellValue(row, 43);
-                    Object approvalDate = ei.getCellValue(row, 44);
-                    Object secondUnits = ei.getCellValue(row, 53);
-                    Object firstUnits = ei.getCellValue(row, 54);
+                    Object projectFirm = ei.getCellValue(row, 39);
+                    Object subDate = ei.getCellValue(row, 41);
+                    Object releaseDate = ei.getCellValue(row, 42);
+                    Object endDate = ei.getCellValue(row, 43);
+                    Object resultDate = ei.getCellValue(row, 44);
+                    Object approvalDate = ei.getCellValue(row, 45);
+                    Object secondUnits = ei.getCellValue(row, 54);
+                    Object firstUnits = ei.getCellValue(row, 55);
                     if (projectTotal.equals("")) {
                         projectTotal = "0.0";
                     }
@@ -290,6 +290,7 @@ public  class ImportInformation {
                     informationList.clear();
                 }
             } catch (Exception ex) {
+                ex.getMessage();
                 failureNum++;
             }