在预览返回的数据中增加header的mapList信息

This commit is contained in:
Zhaoyang 2020-03-06 14:48:33 +08:00
parent d858e724fa
commit 2da863a475
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public abstract class BaseExcelFileController extends BaseFileController {
throw e; throw e;
} }
// 绑定属性到model // 绑定属性到model
dataMap.put("header", listener.getFieldHeadMap()); dataMap.put("header", listener.getFieldHeaders());
dataMap.put(ORIGIN_FILE_NAME, fileName); dataMap.put(ORIGIN_FILE_NAME, fileName);
dataMap.put(PREVIEW_FILE_NAME, newFileName); dataMap.put(PREVIEW_FILE_NAME, newFileName);
List dataList = listener.getDataList(); List dataList = listener.getDataList();