From b7a253c5fe03e3e4dd432677d621ffd213151037 Mon Sep 17 00:00:00 2001 From: chenxg Date: Tue, 1 Aug 2023 15:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/reportexcel/controller/dto/CellStyleDto.java | 4 ++++ .../modules/reportexcel/controller/dto/CommentDto.java | 4 ++++ .../reportexcel/service/impl/ReportExcelServiceImpl.java | 1 + 3 files changed, 9 insertions(+) diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/CellStyleDto.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/CellStyleDto.java index 364a839d..07cf70b2 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/CellStyleDto.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/CellStyleDto.java @@ -2,6 +2,10 @@ package com.anjiplus.template.gaea.business.modules.reportexcel.controller.dto; import lombok.Data; +/** + * @author chenxg + * @date 2023/8/1 10:37 + */ @Data public class CellStyleDto { /** diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/CommentDto.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/CommentDto.java index 95d45e5e..acc26525 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/CommentDto.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/dto/CommentDto.java @@ -3,6 +3,10 @@ package com.anjiplus.template.gaea.business.modules.reportexcel.controller.dto; import lombok.Data; +/** + * @author chenxg + * @date 2023/8/1 10:37 + */ @Data public class CommentDto { /** diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/service/impl/ReportExcelServiceImpl.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/service/impl/ReportExcelServiceImpl.java index 60a37fa9..4069daf2 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/service/impl/ReportExcelServiceImpl.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/service/impl/ReportExcelServiceImpl.java @@ -345,6 +345,7 @@ public class ReportExcelServiceImpl implements ReportExcelService { tableCell.setPhrase(new Paragraph(phrase.getContent(), font)); //处理字体 tableCell.setBorderColor(BaseColor.BLACK); + } private String getStringValue(Cell cell) {