easyExcel导出合并单元格策略
WriteSheet writeSheet = EasyExcel.writerSheet(i, "Sheet" + (i + 1))
.registerWriteHandler(new CustomCellWriteHandler())
//设置合并单元格策略
.registerWriteHandler(new ExcelFillCellMergeStrategy(mergeColumeIndex,"Sheet" + (i + 1)))
.build();// 直接写入数据
2021-12-21 21:05:28
4KB
Java
导出
1