From a27d3742f0f334cb962abfa2fc1ed9ea11f6bd30 Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Mon, 17 Jan 2022 22:16:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=89=88=E6=9C=AC=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 5031bfc3de..975891dcf4 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -850,7 +850,7 @@ status = 'Trash', delete_time = #{request.deleteTime}, delete_user_id = #{request.deleteUserId} - where id = #{request.id} + where ref_id = (select a.ref_id from (select ref_id from test_case where id = #{request.id}) a )