From bab9cc98a12675fd956b98283eac3b0ce04d728f Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 5 Nov 2021 21:33:09 +0800 Subject: [PATCH] =?UTF-8?q?feat=5F=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E6=96=B0=E5=A2=9E=E9=AB=98=E7=BA=A7=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/ext/ExtTestPlanReportMapper.xml | 93 ++++++++++++++++++- .../report/QueryTestPlanReportRequest.java | 4 +- .../api/definition/ApiDefinition.vue | 1 - .../components/search/search-components.js | 1 + .../track/report/TestPlanReport.vue | 3 +- .../report/components/TestPlanReportList.vue | 2 +- 6 files changed, 99 insertions(+), 5 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanReportMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanReportMapper.xml index 9485d68ae8..6bc791134b 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanReportMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanReportMapper.xml @@ -2,15 +2,106 @@ + + + + like CONCAT('%', #{${object}.value},'%') + + + not like CONCAT('%', #{${object}.value},'%') + + + in + + #{v} + + + + not in + + #{v} + + + + between #{${object}.value[0]} and #{${object}.value[1]} + + + > #{${object}.value} + + + < #{${object}.value} + + + >= #{${object}.value} + + + <= #{${object}.value} + + + = '${@io.metersphere.commons.utils.SessionUtils@getUserId()}' + + + = #{${object}.value} + + + + + + + and tpr.name + + + + + + and tpr.creator + + + + + + + and tp.name + + + + + + + and tpr.create_time + + + + + + and tpr.status + + + + + + and tpr.trigger_mode + + + + + +