From 5a701be1c6252ec29ae9d0cedeb529d97cc08263 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 25 Oct 2022 16:09:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=85=B3?= =?UTF-8?q?=E8=81=94=E7=9A=84case=E5=88=97=E8=A1=A8=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BF=A1=E6=81=AF=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=1018838 --user=王孝刚 【测试跟踪】测试计划-关联接口用例后,列表中没有版本信息 https://www.tapd.cn/55049933/s/1276600 --- .../base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml b/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml index 7d4b988443..074424dd0f 100644 --- a/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml +++ b/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml @@ -72,7 +72,8 @@ a.protocol, t.status execResult, a.user_id, - a.version_id versionId + a.version_id versionId, + project_version.NAME AS version_name from test_plan_api_case t inner join @@ -85,6 +86,8 @@ api_definition a on c.api_definition_id = a.id + inner JOIN project_version ON a.project_id = project_version.project_id + AND project_version.id = a.version_id where 1 and a.protocol = #{request.protocol}