修改生成报告路径方式

This commit is contained in:
duwenyuan 2026-05-21 15:20:44 +08:00
parent 0d4df398f0
commit 500b750db0

View File

@ -6406,8 +6406,10 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport
if (!Files.exists(destinationDir)) {
Files.createDirectories(destinationDir);
}
reportByThymeleaf.generateHtmlReportToFile(rrrMap,
targetDir + "\\" + analyses_absolute_ReportPath + ".html");
// 完整文件路径
Path htmlFile =
destinationDir.resolve(analyses_absolute_ReportPath + ".html");
reportByThymeleaf.generateHtmlReportToFile(rrrMap, htmlFile.toString());
copyEchartsLib(targetDir);
} catch (IOException e) {