修改生成报告路径方式
This commit is contained in:
parent
0d4df398f0
commit
500b750db0
|
|
@ -6406,8 +6406,10 @@ public class SpectrumAnalysisServiceImpl extends AbstractLogOrReport
|
||||||
if (!Files.exists(destinationDir)) {
|
if (!Files.exists(destinationDir)) {
|
||||||
Files.createDirectories(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);
|
copyEchartsLib(targetDir);
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Loading…
Reference in New Issue
Block a user