Browse Source

修复一个赋值

luoguangyi 2 years ago
parent
commit
f23e7ba334
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/persagy/excel/ExcelListener.java

+ 1 - 1
src/main/java/com/persagy/excel/ExcelListener.java

@@ -195,7 +195,7 @@ public class ExcelListener<T> extends AnalysisEventListener<T> {
     @Override
     public void doAfterAllAnalysed(AnalysisContext context) {
         if (consumer != null) {
-            consumer.accept(ExcelData.builder().dataList(dataList).descriptionList(descriptionList).funcidList(funcidList).meterList(meterList).buildding(buildding).build());
+            consumer.accept(ExcelData.builder().dataList(dataList).descriptionList(descriptionList).funcidList(funcidList).meterList(meterList).buildding(buildding).dynamic(dynamic).build());
             dataList = new ArrayList<>();
             latestSaveTime = LocalDateTime.now();
         }