From 9a36675e071767a57c064df824738835b2d1d6d9 Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Fri, 24 Apr 2020 22:08:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9`sheet`=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E6=9C=AA=E8=B0=83=E7=94=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/alibaba/excel/util/WriteHandlerUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/alibaba/excel/util/WriteHandlerUtils.java b/src/main/java/com/alibaba/excel/util/WriteHandlerUtils.java index 57f0c49..044e7b2 100644 --- a/src/main/java/com/alibaba/excel/util/WriteHandlerUtils.java +++ b/src/main/java/com/alibaba/excel/util/WriteHandlerUtils.java @@ -234,6 +234,6 @@ public class WriteHandlerUtils { } else { writeHandlerMap = writeContext.currentWriteHolder().writeHandlerMap(); } - return writeHandlerMap.get(WorkbookWriteHandler.class); + return writeHandlerMap.get(clazz); } } From e2180fbd2c60d6d3d33c3218a3f2fc719bd71373 Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Fri, 24 Apr 2020 22:09:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9`sheet`=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E6=9C=AA=E8=B0=83=E7=94=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- update.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e50cf45..bb5182d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.alibaba easyexcel - 2.2.1 + 2.2.2 jar easyexcel diff --git a/update.md b/update.md index fe4b1ae..dd54a2a 100644 --- a/update.md +++ b/update.md @@ -1,3 +1,6 @@ +# 2.2.2 +* 修改`sheet`事件未调用的bug + # 2.2.1 * 发布正式版 * 修复第一行为空不会调用`invokeHeadMap`的bug [Issue #993](https://github.com/alibaba/easyexcel/issues/993)