From d88fd1c25aac3a934dd8f843ba384d0b36fcab60 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 19 Nov 2021 15:50:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=85=B3=E8=81=94=E6=80=A7?= =?UTF-8?q?=E8=83=BD=E6=B5=8B=E8=AF=95=E6=97=B6=E6=98=BE=E7=A4=BAID?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1008108 --user=刘瑞斌 【测试计划】-关联性能测试用例页面没有ID列,不能按ID搜索 https://www.tapd.cn/55049933/s/1070572 --- .../base/mapper/ext/ExtTestPlanLoadCaseMapper.xml | 2 +- .../plan/view/comonents/load/TestCaseLoadRelevance.vue | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 b4d8c79319..d4de7883d7 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 @@ -23,7 +23,7 @@ ) - and load_test.name like CONCAT('%', #{request.name},'%') + and (load_test.name like CONCAT('%', #{request.name},'%') OR load_test.num like CONCAT('%', #{request.name},'%')) 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 2c2c353102..73936a6ed5 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 @@ -31,6 +31,12 @@ ref="table"> + +