From 2da863a475aec62b6c874a78dbb108a714c3f207 Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Fri, 6 Mar 2020 14:48:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E9=A2=84=E8=A7=88=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=E4=B8=AD=E5=A2=9E=E5=8A=A0header?= =?UTF-8?q?=E7=9A=84mapList=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/diboot/file/controller/BaseExcelFileController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java index 3502447..1c4e8dc 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java @@ -107,7 +107,7 @@ public abstract class BaseExcelFileController extends BaseFileController { throw e; } // 绑定属性到model - dataMap.put("header", listener.getFieldHeadMap()); + dataMap.put("header", listener.getFieldHeaders()); dataMap.put(ORIGIN_FILE_NAME, fileName); dataMap.put(PREVIEW_FILE_NAME, newFileName); List dataList = listener.getDataList();