From 8ab8ad20d92aa4dced0ebc79af9cc1f75566b55d Mon Sep 17 00:00:00 2001 From: mazhicheng Date: Fri, 6 Mar 2020 14:23:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96excel=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= 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 22fd293..3502447 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.getHeadMap()); + dataMap.put("header", listener.getFieldHeadMap()); dataMap.put(ORIGIN_FILE_NAME, fileName); dataMap.put(PREVIEW_FILE_NAME, newFileName); List dataList = listener.getDataList();