From 9a36675e071767a57c064df824738835b2d1d6d9 Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Fri, 24 Apr 2020 22:08:09 +0800 Subject: [PATCH] =?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 57f0c497..044e7b2e 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); } }