From 93914ed5b6bc2b80840f9202c9965e56817ac9ba Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 22 Dec 2020 17:42:53 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../metersphere/base/mapper/ext/ExtApiScenarioMapper.xml | 2 +- .../components/api/automation/scenario/ReferenceView.vue | 2 +- .../components/api/definition/components/ApiConfig.vue | 9 +++++++++ .../api/definition/components/body/ApiBody.vue | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioMapper.xml index 6a5e80574d..50e4563a8c 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioMapper.xml @@ -84,7 +84,7 @@ AND api_scenario_module_id = #{request.moduleId} - and scenario_definition like CONCAT('%', #{request.id},'%') + and scenario_definition like CONCAT('%', #{request.id},'%') and id != #{request.id} diff --git a/frontend/src/business/components/api/automation/scenario/ReferenceView.vue b/frontend/src/business/components/api/automation/scenario/ReferenceView.vue index 715c9dc552..bea790b786 100644 --- a/frontend/src/business/components/api/automation/scenario/ReferenceView.vue +++ b/frontend/src/business/components/api/automation/scenario/ReferenceView.vue @@ -1,5 +1,5 @@