浏览代码

导入文件字段更改

yue 5 年之前
父节点
当前提交
2be322216f
共有 1 个文件被更改,包括 9 次插入8 次删除
  1. 9 8
      src/main/java/com/jeeplus/modules/sg/information/utils/ImportInformation.java

+ 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 projectStart = ei.getCellValue(row, 14);
                     Object projectStop = ei.getCellValue(row, 15);
                     Object projectStop = ei.getCellValue(row, 15);
                     Object department = ei.getCellValue(row, 16);
                     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("")) {
                     if (projectTotal.equals("")) {
                         projectTotal = "0.0";
                         projectTotal = "0.0";
                     }
                     }
@@ -290,6 +290,7 @@ public  class ImportInformation {
                     informationList.clear();
                     informationList.clear();
                 }
                 }
             } catch (Exception ex) {
             } catch (Exception ex) {
+                ex.getMessage();
                 failureNum++;
                 failureNum++;
             }
             }