摘要: 列宽设置 如果要好看,只能每个属性字段都不手动设置,这个太麻烦了 直接类上标记列宽注解,这种方式比较简单 @ExcelIgnoreUnannotated @ColumnWidth(20) public class ContractExpenditureApplyOffsetTypeExportDto 阅读全文
posted @ 2021-03-04 18:17 海绵般汲取 阅读(6455) 评论(0) 推荐(0) 编辑
摘要: 具体使用示例链接:语雀 EasyExcel https://www.yuque.com/easyexcel/doc/write 示例代码 public class StudentExportDto { @ExcelProperty(value = {"学生信息", "姓名"} ,index = 0) 阅读全文
posted @ 2021-03-04 14:03 海绵般汲取 阅读(4753) 评论(0) 推荐(0) 编辑