diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestMapper.xml index ff36804523..c218ca6b12 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestMapper.xml @@ -122,12 +122,14 @@ + - and api_test.${key} in + and api_test.status in #{value} + diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestReportMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestReportMapper.xml index f8dd61f0aa..a209ae921e 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestReportMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestReportMapper.xml @@ -89,10 +89,20 @@ - and r.${key} in - - #{value} - + + + and r.status in + + #{value} + + + + and r.trigger_mode in + + #{value} + + + diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestMapper.xml index 812123e02b..f6e7909913 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtLoadTestMapper.xml @@ -51,7 +51,8 @@ - select load_test.*, project.name as project_name, user.name as user_name from load_test left join project on load_test.project_id = project.id @@ -83,7 +84,7 @@ - and load_test.${key} in + and load_test.status in #{value} 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 503ed54b59..e1bb69e3cc 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 @@ -3,12 +3,12 @@ - - - - - - + + + + + + @@ -95,10 +95,21 @@ - and ltr.${key} in - - #{value} - + + + and ltr.status in + + #{value} + + + + and ltr.trigger_mode in + + #{value} + + + + diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 8949c82d2f..44122dedce 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -168,10 +168,26 @@ - and test_case.${key} in - - #{value} - + + + and test_case.priority in + + #{value} + + + + and test_case.type in + + #{value} + + + + and test_case.method in + + #{value} + + +