From 378d70faa61fac3eb42443617bf4149d834cf698 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 30 May 2023 16:19:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=9A=E7=9F=A5=E8=B7=B3=E8=BD=AC=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E6=8F=90=E7=A4=BA=E8=B5=84=E6=BA=90=E8=A2=AB=E5=88=A0?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026595 --user=王孝刚 【系统通知】点击默认mock环境变更系统通知环境名称-提示资源不存在 https://www.tapd.cn/55049933/s/1377074 --- .../java/io/metersphere/base/mapper/ext/BaseProjectMapper.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/base/mapper/ext/BaseProjectMapper.xml b/framework/sdk-parent/sdk/src/main/java/io/metersphere/base/mapper/ext/BaseProjectMapper.xml index 1f6669301d..9e35f83c8d 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/base/mapper/ext/BaseProjectMapper.xml +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/base/mapper/ext/BaseProjectMapper.xml @@ -259,6 +259,10 @@ UNION SELECT project_id FROM load_test_report + WHERE id = #{resourceId} + UNION + SELECT project_id + FROM api_test_environment WHERE id = #{resourceId}) LIMIT 1