public class ExportHandler extends Object
Excel导出处理器
exportService| 构造器和说明 |
|---|
ExportHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E> org.apache.poi.ss.usermodel.Workbook |
export(Class<E> cls,
List<E> datas,
ExportSheetParam sheetParam,
ExportService exportService)
根据导出实体类信息和数据条数导出Excel WorkBook
|
public static <E> org.apache.poi.ss.usermodel.Workbook export(Class<E> cls, List<E> datas, ExportSheetParam sheetParam, ExportService exportService)
cls - 导出实体类信息datas - 需要导出的数据sheetParam - sheet中的参数exportService - 生成Excel的业务类Copyright © 2019. All rights reserved.