1、脚本生成报告 bugfix
This commit is contained in:
@@ -1108,7 +1108,7 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
|
||||
String jsonString = JSON.toJSONString(projecInfoReq);
|
||||
FileOutputStream projectInfoOutputStream = null;
|
||||
try {
|
||||
projectInfoOutputStream = new FileOutputStream(TEMP_REPORT_PATH + "projectInfo.json");
|
||||
projectInfoOutputStream = new FileOutputStream(TEMP_REPORT_PATH + randomId + File.separator + "projectInfo.json");
|
||||
projectInfoOutputStream.write(jsonString.getBytes(StandardCharsets.UTF_8));
|
||||
projectInfoOutputStream.flush();
|
||||
projectInfoOutputStream.close();
|
||||
@@ -1133,7 +1133,7 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
|
||||
String jsonString = JSON.toJSONString(exportPerformanceList);
|
||||
FileOutputStream performanceOutputStream = null;
|
||||
try {
|
||||
performanceOutputStream = new FileOutputStream(TEMP_REPORT_PATH + "performance.json");
|
||||
performanceOutputStream = new FileOutputStream(TEMP_REPORT_PATH + randomId + File.separator + "performance.json");
|
||||
performanceOutputStream.write(jsonString.getBytes(StandardCharsets.UTF_8));
|
||||
performanceOutputStream.flush();
|
||||
performanceOutputStream.close();
|
||||
|
||||
Reference in New Issue
Block a user