报告封面微调

This commit is contained in:
caozehui
2025-10-22 11:05:21 +08:00
parent bb22857fc9
commit c7d8fc3168
9 changed files with 2 additions and 2 deletions

View File

@@ -602,8 +602,8 @@ public class PqReportServiceImpl extends ServiceImpl<PqReportMapper, PqReport> i
dealDataModel(baseModelDocument, devReportParam, pqDevVO);
// 处理需要输出的目录地址 基础路径+设备类型+装置编号.docx
// 最终文件输出的路径
// String dirPath = reportPath.concat(File.separator).concat(devType.getName());
String dirPath = reportPath;
String dirPath = reportPath.concat(File.separator).concat(devType.getName());
// String dirPath = reportPath;
// 确保目录存在
ensureDirectoryExists(dirPath);
String reportFullPath = dirPath.concat(File.separator).concat(pqDevVO.getCreateId()).concat(".docx");