diff --git a/src/main/java/com/alibaba/excel/analysis/BaseSaxAnalyser.java b/src/main/java/com/alibaba/excel/analysis/BaseSaxAnalyser.java index 54f7b557..45c0d9bc 100644 --- a/src/main/java/com/alibaba/excel/analysis/BaseSaxAnalyser.java +++ b/src/main/java/com/alibaba/excel/analysis/BaseSaxAnalyser.java @@ -61,10 +61,11 @@ public abstract class BaseSaxAnalyser implements AnalysisEventRegisterCenter, Ex (List)analysisContext.getCurrentRowAnalysisResult()); } } else { + List content = converter((List)event.getData()); /** Parsing Analyze the body content **/ - analysisContext.setCurrentRowAnalysisResult(event.getData()); + analysisContext.setCurrentRowAnalysisResult(content); if (listeners.size() == 1) { - analysisContext.setCurrentRowAnalysisResult(converter((List)event.getData())); + analysisContext.setCurrentRowAnalysisResult(content); } /** notify all event listeners **/ for (Map.Entry entry : listeners.entrySet()) {