main
黄海 7 months ago
parent 1ad8c63ddb
commit 0aadbe24ba

Binary file not shown.

@ -39,6 +39,7 @@ public class ExportExcel {
headerFont.setFontName("黑体"); headerFont.setFontName("黑体");
headerFont.setFontHeightInPoints((short) 12); headerFont.setFontHeightInPoints((short) 12);
headerStyle.setFont(headerFont); headerStyle.setFont(headerFont);
headerStyle.setFillForegroundColor(IndexedColors.LIME.getIndex());
// 创建数据行样式 // 创建数据行样式
CellStyle dataStyle = workbook.createCellStyle(); CellStyle dataStyle = workbook.createCellStyle();

Loading…
Cancel
Save