1、使用easyExcel读取转换
List<CorpHandInitCall> list = ExcelImportUtil.importExcel(new File("/Users/liuyaofei/cnwy/工作簿1.xlsx"), CorpHandInitCall.class, new ImportParams());
2、hutool工具库读取
List<Map<String, Object>> results = ExcelUtil.getReader(new File("/Users/liuyaofei/cnwy/工作簿1.xlsx")).readAll();
网友评论