From a137eb7917b2d40084a5fcf037ce1ac22eafa549 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 13 Jul 2022 12:36:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=87=8D=E5=A4=8D=E5=AF=BC=E5=85=A5=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=B6=88=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 --bug=1014786 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001014786 --- .../io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml index 7ecc857ae1..0b721ff31e 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml @@ -1035,7 +1035,7 @@ JOIN project_version ON tmp.project_id = project_version.project_id AND tmp.version_id = project_version.id AND project_version.latest = TRUE - WHERE ref_id = #{refId,jdbcType=VARCHAR} + WHERE ref_id = #{refId,jdbcType=VARCHAR} and tmp.status != 'Trash' LIMIT 1 ) UNION ALL