|
|
|
@ -88,10 +88,10 @@ public class ExcelTest {
|
|
|
|
|
File f = new File("D:/test/4.xlsx");
|
|
|
|
|
Date d = new Date();
|
|
|
|
|
XSSFWorkbook workbook = null;
|
|
|
|
|
List<String> rowErr = null;
|
|
|
|
|
List<HashMap<String, Object>> rowErr = null;
|
|
|
|
|
try {
|
|
|
|
|
workbook = new XSSFWorkbook(f);
|
|
|
|
|
rowErr = new ArrayList<String>();
|
|
|
|
|
rowErr = new ArrayList<HashMap<String, Object>>();
|
|
|
|
|
list = ExcelOperation.readExcel4Update(workbook, Constant.EXCEL_TEMPLATE_INIT_ROW, 0, f.getName(), rowErr ,new PreDataInfo(), "id", "dataId", "workRange","sysCode","updateTime","userTablespaceStatus", "checkoutIndicateStatus", "checkoutPayStatus", "userTablespacePath", "checkoutIndicatePath", "checkoutPayPath", "sqlList", "dataVersion", "collectingTime", "collUpdate");
|
|
|
|
|
} catch (IllegalArgumentException
|
|
|
|
|
| IllegalAccessException | InstantiationException | InvalidFormatException | IOException e) {
|
|
|
|
|