fix(测试跟踪): 修复测试计划关联的case列表没有版本信息的缺陷
--bug=1018838 --user=王孝刚 【测试跟踪】测试计划-关联接口用例后,列表中没有版本信息 https://www.tapd.cn/55049933/s/1276600
This commit is contained in:
parent
8a70700b4d
commit
de60451d52
|
@ -72,7 +72,8 @@
|
||||||
a.protocol,
|
a.protocol,
|
||||||
t.status execResult,
|
t.status execResult,
|
||||||
a.user_id,
|
a.user_id,
|
||||||
a.version_id versionId
|
a.version_id versionId,
|
||||||
|
project_version.NAME AS version_name
|
||||||
from
|
from
|
||||||
test_plan_api_case t
|
test_plan_api_case t
|
||||||
inner join
|
inner join
|
||||||
|
@ -85,6 +86,8 @@
|
||||||
api_definition a
|
api_definition a
|
||||||
on
|
on
|
||||||
c.api_definition_id = a.id
|
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
|
where 1
|
||||||
<if test="request.protocol != null and request.protocol!=''">
|
<if test="request.protocol != null and request.protocol!=''">
|
||||||
and a.protocol = #{request.protocol}
|
and a.protocol = #{request.protocol}
|
||||||
|
|
Loading…
Reference in New Issue