区域报告模板bug修改

This commit is contained in:
cdf
2026-03-23 13:03:32 +08:00
parent e8cd6da8a0
commit 9225e82edb
2 changed files with 13 additions and 7 deletions

View File

@@ -25,6 +25,7 @@ import com.njcn.user.api.DeptFeignClient;
import com.njcn.user.pojo.po.Dept;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;
@@ -49,7 +50,9 @@ public class AreaHarmonicServiceImpl implements AreaHarmonicService {
// 常量定义
private static final String REPORT_TEMPLATE_PATH = "file/areaReportTemplate.docx";
private static final String DEFAULT_PROVIDER_DEPT = "云网能源(曲靖)有限责任公司";
@Value("${areaReportTitle:上海电力有限公司电力科学研究院}")
private String DEFAULT_PROVIDER_DEPT;
private static final String NO_DATA_PLACEHOLDER = "";
private static final String UNKNOWN_VALUE = "/";