This commit is contained in:
haomingming 2026-01-04 14:27:51 +08:00
parent c7c7feefcf
commit d071779de8

View File

@ -201,9 +201,9 @@ public class CaseplatformCaseExcelController {
CellStyle totalStyle = workbook.createCellStyle();
Font totalFont = workbook.createFont();
totalFont.setBold(true);
totalFont.setColor(IndexedColors.WHITE.getIndex());
totalFont.setColor(IndexedColors.BLACK.getIndex());
totalStyle.setFont(totalFont);
totalStyle.setFillForegroundColor(IndexedColors.BLACK.getIndex());
totalStyle.setFillForegroundColor(IndexedColors.WHITE.getIndex());
totalStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND);
totalStyle.setAlignment(HorizontalAlignment.CENTER);
totalStyle.setVerticalAlignment(VerticalAlignment.CENTER);