fix:生成报告
This commit is contained in:
@@ -162,8 +162,8 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
|
||||
|
||||
private final ObjectMapper objectMapper = new ObjectMapper();
|
||||
|
||||
// private static final String TEMP_REPORT_PATH = "/opt/report/";
|
||||
private static final String TEMP_REPORT_PATH = System.getProperty("user.dir") + File.separator + "project";
|
||||
private static final String TEMP_REPORT_PATH = "/opt/report/";
|
||||
// private static final String TEMP_REPORT_PATH = System.getProperty("user.dir") + File.separator + "project";
|
||||
|
||||
|
||||
private static final String TEMPLATE_PATH = " /opt/script/template ";
|
||||
@@ -1398,6 +1398,7 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
|
||||
}
|
||||
// 回设图片文件路径
|
||||
reportContent = replaceFileIdsWithPaths(reportContent, filePathMap);
|
||||
log.info("reportContent:{}", JSON.toJSONString(reportContent));
|
||||
|
||||
// 前端参数写入临时目录
|
||||
FileOutputStream projectInfoOutputStream = null;
|
||||
|
||||
Reference in New Issue
Block a user