From b5c220f9a6c76feaed35968b045cf897db731f72 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Mon, 1 Jun 2020 21:34:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=20=E7=AD=9B=E9=80=89=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/ext/ExtLoadTestReportMapper.xml | 17 +++++++++++- .../controller/request/ReportRequest.java | 6 +++++ .../performance/service/ReportService.java | 2 ++ .../report/PerformanceTestReport.vue | 26 ++++++++++++------- 4 files changed, 40 insertions(+), 11 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestReportMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestReportMapper.xml index 30ba085a3c..dd724ddc8a 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestReportMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestReportMapper.xml @@ -31,8 +31,23 @@ AND workspace_id = #{reportRequest.workspaceId,jdbcType=VARCHAR} + + + + and ltr.${key} in + + #{value} + + + + - ORDER BY ltr.update_time DESC + + order by + + ltr.${order.name} ${order.type} + +