From dccd6a4a21cf589513c421550fc5a836c4fd5c4b Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Fri, 17 Sep 2021 18:07:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89)=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=A5=E7=9C=8B=E5=BC=95=E7=94=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20=20--bug=3D1006730=20--user=3D=E8=B5=B5=E5=8B=87=20?= =?UTF-8?q?=E3=80=90=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E3=80=91=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=AE=9A=E4=B9=89-=E7=94=A8=E4=BE=8B=E5=88=97?= =?UTF-8?q?=E8=A1=A8-=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E7=9A=84?= =?UTF-8?q?=E7=94=A8=E4=BE=8B-=E6=9F=A5=E7=9C=8B=E5=BC=95=E7=94=A8?= =?UTF-8?q?=EF=BC=8C=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=20https://www.tapd.cn/55049933/s/10?= =?UTF-8?q?48168?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml index e43c6c5690..c3d59eafa0 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml @@ -222,7 +222,7 @@ AND p.id IN (SELECT test_plan_id FROM test_plan_api_scenario WHERE api_scenario_id = #{request.scenarioId} ) - AND p.id IN (SELECT test_plan_id FROM test_plan_api_case WHERE id = #{request.apiId}) + AND p.id IN (SELECT test_plan_id FROM test_plan_api_case WHERE api_case_id = #{request.apiId}) AND p.id IN (SELECT test_plan_id FROM test_plan_load_case WHERE load_case_id = #{request.loadId})