fix(用例管理): 修复用例管理关联场景显示失败问题

--bug=1039889 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039889
This commit is contained in:
guoyuqi 2024-04-22 18:26:51 +08:00 committed by Craftsman
parent b3dfd373ff
commit fe9f05f7be
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@
fct.create_time, fct.create_time,
p.name as projectName, p.name as projectName,
v.name as versionName, v.name as versionName,
NULLIF(atc.name, scenario.name) as sourceName, IF(atc.name is not null, atc.name, scenario.name) as sourceName,
NULLIF(atc.num, scenario.num) as sourceNum IF(atc.num is not null, atc.num, scenario.num) as sourceNum
FROM FROM
functional_case_test fct functional_case_test fct
LEFT JOIN project p ON fct.project_id = p.id LEFT JOIN project p ON fct.project_id = p.id