|
@ -130,6 +130,7 @@ public class IcResiUserExportServiceImpl implements IcResiUserExportService { |
|
|
WriteCellStyle contentWriteCellStyle = new WriteCellStyle(); |
|
|
WriteCellStyle contentWriteCellStyle = new WriteCellStyle(); |
|
|
contentWriteCellStyle.setVerticalAlignment(VerticalAlignment.CENTER); |
|
|
contentWriteCellStyle.setVerticalAlignment(VerticalAlignment.CENTER); |
|
|
HorizontalCellStyleStrategy horizontalCellStyleStrategy = new HorizontalCellStyleStrategy(headWriteCellStyle, contentWriteCellStyle); |
|
|
HorizontalCellStyleStrategy horizontalCellStyleStrategy = new HorizontalCellStyleStrategy(headWriteCellStyle, contentWriteCellStyle); |
|
|
|
|
|
//todo 表头固定不正确
|
|
|
FreezeAndFilter writeHandler = new FreezeAndFilter(); |
|
|
FreezeAndFilter writeHandler = new FreezeAndFilter(); |
|
|
excelWriter = EasyExcel.write(ExcelUtils.getOutputStreamForExcel("居民基本信息.xlsx", response)) |
|
|
excelWriter = EasyExcel.write(ExcelUtils.getOutputStreamForExcel("居民基本信息.xlsx", response)) |
|
|
.registerWriteHandler(new ExcelFillCellMergeStrategy(mergeRowIndex, mergeColumnIndex)) |
|
|
.registerWriteHandler(new ExcelFillCellMergeStrategy(mergeRowIndex, mergeColumnIndex)) |
|
|