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 @@