main
黄海 2 years ago
parent 5d20f33111
commit fcbfb443d3

@ -60,7 +60,7 @@ public class ImportExcelData {
return; return;
} }
} }
System.out.println("1、上传文件与模板的匹配检查完成"); System.out.println("上传文件与模板的匹配检查通过");
//打开EXCEL进行检查 //打开EXCEL进行检查
InputStream is = new FileInputStream(f2); InputStream is = new FileInputStream(f2);
@ -151,10 +151,9 @@ public class ImportExcelData {
} }
// 检查通过,导入数据 // 检查通过,导入数据
System.out.println("2、检查通过可以导入数据");
for (int i = 0; i < sheetCnt; i++) ImportUtil.importData(upload_excel_filename, wb, i, bureau_id, person_id); for (int i = 0; i < sheetCnt; i++) ImportUtil.importData(upload_excel_filename, wb, i, bureau_id, person_id);
System.out.println("3、恭喜,所有数据成功导入!"); System.out.println("恭喜,所有数据成功导入!");
//关闭Excel //关闭Excel
wb.close(); wb.close();
} }

Loading…
Cancel
Save