瀏覽代碼

修复一个赋值

luoguangyi 2 年之前
父節點
當前提交
f23e7ba334
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
     @Override
     public void doAfterAllAnalysed(AnalysisContext context) {
     public void doAfterAllAnalysed(AnalysisContext context) {
         if (consumer != null) {
         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<>();
             dataList = new ArrayList<>();
             latestSaveTime = LocalDateTime.now();
             latestSaveTime = LocalDateTime.now();
         }
         }