This commit is contained in:
chenjianxing 2020-07-23 16:46:45 +08:00
commit e6479365a5
1 changed files with 1 additions and 1 deletions

View File

@ -231,10 +231,10 @@ public class ReportService {
List<LoadTestReportLog> loadTestReportLogs = loadTestReportLogMapper.selectByExampleWithBLOBs(example); List<LoadTestReportLog> loadTestReportLogs = loadTestReportLogMapper.selectByExampleWithBLOBs(example);
LoadTestReportLog content = loadTestReportLogs.get(0); LoadTestReportLog content = loadTestReportLogs.get(0);
outputStream.write(content.getContent().getBytes()); outputStream.write(content.getContent().getBytes());
}
outputStream.flush(); outputStream.flush();
} }
} }
}
public LoadTestReport getReport(String reportId) { public LoadTestReport getReport(String reportId) {
return loadTestReportMapper.selectByPrimaryKey(reportId); return loadTestReportMapper.selectByPrimaryKey(reportId);