fix(用例管理): 功能用例关联用例获取num失败

--bug=1037682 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001037682
This commit is contained in:
guoyuqi 2024-03-26 14:43:57 +08:00 committed by 刘瑞斌
parent 7f32e69ea2
commit 077dace59f
2 changed files with 7 additions and 1 deletions

View File

@ -67,9 +67,12 @@
api_scenario.id,
api_scenario.project_id,
api_scenario.name,
api_scenario.num,
api_scenario.priority,
api_scenario.tags,
api_scenario.name as versionName
api_scenario.pos,
api_scenario.version_id,
project_version.name as versionName
FROM
api_scenario
LEFT JOIN project_version ON api_scenario.version_id = project_version.id

View File

@ -174,10 +174,13 @@
<select id="listByProviderRequest" resultMap="TestCaseProviderDTO">
SELECT
atc.id,
atc.num,
atc.pos,
atc.project_id,
atc.name,
atc.priority,
atc.tags,
atc.version_id,
v.name as versionName
FROM
api_test_case atc