diff --git a/backend/src/main/java/io/metersphere/performance/service/ReportService.java b/backend/src/main/java/io/metersphere/performance/service/ReportService.java index ff5ec96f9e..324dd1be85 100644 --- a/backend/src/main/java/io/metersphere/performance/service/ReportService.java +++ b/backend/src/main/java/io/metersphere/performance/service/ReportService.java @@ -207,14 +207,14 @@ public class ReportService { public List getReportLogs(String reportId, String resourceId) { LoadTestReportLogExample example = new LoadTestReportLogExample(); example.createCriteria().andReportIdEqualTo(reportId).andResourceIdEqualTo(resourceId); - example.setOrderByClause("part desc"); + example.setOrderByClause("part"); return loadTestReportLogMapper.selectByExampleWithBLOBs(example); } public List downloadLog(String reportId, String resourceId) { LoadTestReportLogExample example = new LoadTestReportLogExample(); example.createCriteria().andReportIdEqualTo(reportId).andResourceIdEqualTo(resourceId); - example.setOrderByClause("part desc"); + example.setOrderByClause("part"); List loadTestReportLogs = loadTestReportLogMapper.selectByExampleWithBLOBs(example); return loadTestReportLogs.stream().map(LoadTestReportLog::getContent).collect(Collectors.toList());