diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiCaseMapper.xml b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiCaseMapper.xml index f7b5dd543d..be1c23dd08 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiCaseMapper.xml +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiCaseMapper.xml @@ -511,13 +511,27 @@ concat(a.project_id, '_', a.module_id) in - #{v} + + + #{v} + + + concat(a.project_id, '_', #{v}) + + concat(a.project_id, '_', a.module_id) not in - #{v} + + + #{v} + + + concat(a.project_id, '_', #{v}) + + diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiScenarioMapper.xml b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiScenarioMapper.xml index 3bb3871133..01df9caa4a 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiScenarioMapper.xml +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanApiScenarioMapper.xml @@ -275,13 +275,27 @@ concat(api_scenario.project_id, '_', api_scenario.module_id) in - #{v} + + + #{v} + + + concat(api_scenario.project_id, '_', #{v}) + + concat(api_scenario.project_id, '_', api_scenario.module_id) not in - #{v} + + + #{v} + + + concat(api_scenario.project_id, '_', #{v}) + + diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanFunctionalCaseMapper.xml b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanFunctionalCaseMapper.xml index aca7ad8a04..c14adb2fdf 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanFunctionalCaseMapper.xml +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanFunctionalCaseMapper.xml @@ -316,10 +316,34 @@ - - - - + + + concat(functional_case.project_id, '_', functional_case.module_id) in + + + + #{v} + + + concat(functional_case.project_id, '_', #{v}) + + + + + + concat(functional_case.project_id, '_', functional_case.module_id) not in + + + + #{v} + + + concat(functional_case.project_id, '_', #{v}) + + + + +