修改生成报告路径方式
This commit is contained in:
parent
0d4df398f0
commit
500b750db0
|
|
@ -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) {
|
||||
Loading…
Reference in New Issue
Block a user