Browse Source

修改`sheet`事件未调用的bug

developing
Jiaju Zhuang 5 years ago
parent
commit
9a36675e07
  1. 2
      src/main/java/com/alibaba/excel/util/WriteHandlerUtils.java

2
src/main/java/com/alibaba/excel/util/WriteHandlerUtils.java

@ -234,6 +234,6 @@ public class WriteHandlerUtils {
} else { } else {
writeHandlerMap = writeContext.currentWriteHolder().writeHandlerMap(); writeHandlerMap = writeContext.currentWriteHolder().writeHandlerMap();
} }
return writeHandlerMap.get(WorkbookWriteHandler.class); return writeHandlerMap.get(clazz);
} }
} }

Loading…
Cancel
Save