From bd2d95d4b2c9be70ffd9ed37721453c206d62013 Mon Sep 17 00:00:00 2001 From: jueyue Date: Sun, 21 Jun 2015 23:32:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E5=AF=BC=E5=85=A5ma?= =?UTF-8?q?p=E7=9A=84=E4=BB=8B=E7=BB=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6fc894d..a12f919 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ https://oss.sonatype.org/content/repositories/snapshots/ 版本修改 -------------------------- - - 2.2.0 + - 2.1.2 - groupId 改成org.jeecg,为了以后可以直接提交到中央库了 - 把test 那个模块删除了 - 提供了Excel 预览的功能 @@ -291,3 +291,11 @@ EasyPoi导出实例 System.out.println(ReflectionToStringBuilder.toString(result.getList().get(i))); } ``` + +9.导入Map + 设置导入参数,传入文件或者流,即可获得相应的list,自定义Key,需要实现IExcelDataHandler接口 +```Java + ImportParams params = new ImportParams(); + List> list = ExcelImportUtil.importExcel(new File( + "d:/tt.xls"), Map.class, params); +```