fix(接口定义): 修复场景创建新版本,不显示创建人的缺陷

--bug=1017226 --user=王孝刚 【接口测试】github #18185,创建版本设置为最新版,场景内新建版本关闭后创建人丢失
https://www.tapd.cn/55049933/s/1252040
This commit is contained in:
wxg0103 2022-09-26 15:22:14 +08:00 committed by wxg0103
parent 0dae49cfa2
commit 642e66b5c2
1 changed files with 2 additions and 2 deletions

View File

@ -165,10 +165,10 @@
api_scenario.schedule, api_scenario.description, api_scenario.create_time, api_scenario.update_time,
project.name as project_name, user.name as user_name,deleteUser.name AS delete_user,api_scenario.delete_time
,u2.name as principal_name,
api_scenario.create_user as creator , user.name as creator_name
api_scenario.create_user as create_user , user.name as creator_name
from api_scenario
left join project on api_scenario.project_id = project.id
left join user on api_scenario.user_id = user.id and api_scenario.create_user = user.id
left join user on api_scenario.create_user = user.id
left join user deleteUser on api_scenario.delete_user_id = deleteUser.id
left join user u2 on api_scenario.principal = u2.id
left join project_version on api_scenario.project_id = project_version.project_id AND project_version.id =