- EasyExcelReadListener<T,U> - cn.sinozg.applet.common.excel中的类
-
读取excel 监听
- EasyExcelReadListener(Function<T, U>, ImportExcelResult<U>) - 类 的构造器cn.sinozg.applet.common.excel.EasyExcelReadListener
-
- errorInfo - 类 中的变量cn.sinozg.applet.common.core.model.ImportExcelResult
-
导入过程中的错误信息 (可用于记录解析excel数据时存储异常信息,用于业务的事务的回滚)
- ExcelUtil - cn.sinozg.applet.common.utils中的类
-
导入导出封装 依赖 EasyExcel
简单的封装 复杂的需要自己去实现
- ExcelUtil() - 类 的构造器cn.sinozg.applet.common.utils.ExcelUtil
-
- ExcelWriteConverter - cn.sinozg.applet.common.excel中的类
-
导出转移 使用方式为
{@code
- ExcelWriteConverter() - 类 的构造器cn.sinozg.applet.common.excel.ExcelWriteConverter
-
- ExportData<T> - cn.sinozg.applet.common.core.model中的类
-
导入数据
- ExportData() - 类 的构造器cn.sinozg.applet.common.core.model.ExportData
-
- ExportData(String, List<T>) - 类 的构造器cn.sinozg.applet.common.core.model.ExportData
-
- exportFile(String, List<List<T>>, HttpServletResponse, String...) - 类 中的静态方法cn.sinozg.applet.common.utils.ExcelUtil
-
excel文件导出(可以包含多个sheet页),固定表头(通过实体指定属性的方式)
- exportFile(String, List<ExportData<T>>, Consumer<ExcelWriterBuilder>, HttpServletResponse) - 类 中的静态方法cn.sinozg.applet.common.utils.ExcelUtil
-
excel文件导出(可以包含多个sheet页),可以指定表头,样式等自定义方式
- exportSingleFile(HttpServletResponse, String, List<T>, String) - 类 中的静态方法cn.sinozg.applet.common.utils.ExcelUtil
-
导出excel 下载
使用bean的方式直接下载导出
ExcelUtil.exportSingleFile(response, null, list, "sheet_1");
- exportSingleFile(HttpServletResponse, String, ExportData<T>, Consumer<ExcelWriterBuilder>) - 类 中的静态方法cn.sinozg.applet.common.utils.ExcelUtil
-
导出excel 下载
使用bean的方式直接下载导出 自定义样式 和表头
- exportWithTemp(HttpServletResponse, String, List<T>, Object) - 类 中的静态方法cn.sinozg.applet.common.utils.ExcelUtil
-
用模板导出复制的 excel
ExcelUtil.exportWithTemp(response, "temp/air_port.xlsx", list, other);