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