diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml index 3a3fb8f172..5232dcec24 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml @@ -20,6 +20,20 @@ and load_test.name like CONCAT('%', #{request.name},'%') + + + + + + and load_test.status in + + #{value} + + + + + + and load_test.id not in ( select tplc.load_case_id from test_plan_load_case tplc where tplc.test_plan_id = #{request.testPlanId} ) diff --git a/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue index 35d5a3430d..56dbca6bcf 100644 --- a/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue @@ -29,6 +29,7 @@ row-key="id" @select-all="handleSelectAll" @select="handleSelectionChange" + @filter-change="filter" height="50vh" ref="table">