-
Notifications
You must be signed in to change notification settings - Fork 325
Simple mapping
清沐 edited this page Mar 29, 2020
·
1 revision
This function is only for
DefaultExcelBuilder
,DefaultStreamExcelBuilder
.
A common export scenario: export data contains enumerable fields, such as gender, stored in the database as 0, 1, and exported as male and female.
@ExcelColumn(title="gender",mapping="0:male,1:female")
Integer gender;
Use the 'mapping' attribute to separate groups with ',', and each group with ':'. Note that this attribute only supports simple mapping and does not support mapping with ':', ',' special characters
-
Overview
概述 -
FAQ
常见问题 -
Dependency adding
依赖添加 -
Excel/Csv import
Excel/Csv导入 - 一对多导入
-
Excel default export
默认导出 -
Excel streaming export
流式导出 -
Dynamic export
动态导出 -
Excel template build
模板构建 -
CSV export
csv导出 -
Multiple sheet import
多sheet导入 -
Multiple sheet export
多sheet导出 - 聚合列&聚合导出
-
Custom style
自定义样式 -
Multilevel header
多级表头 -
Wrap within cell
单元格内换行 -
Image export
图片导出 -
Image import
图片导入 -
Hyperlink
链接 - 读取链接
-
Template row height setting
模板行高度设置 -
Drop-down-list
下拉列表 -
Custom convert
写入自定义转化 -
Formula usage
公式使用 -
Template cell setting
单元格设置 -
Header freeze
区域冻结 - 提示
-
Style support
样式支持 - 添加水印
- 按列读取
- 单元格斜线绘制
- 设置批注
- 版本日志