fix(性能测试): 修复查询报告时无法查出已删除人执行的报告

--bug=1021085 --user=刘瑞斌 【性能测试】github#20773,删除用户后,用户执行的性能测试报告不展示了 https://www.tapd.cn/55049933/s/1320285

Closes #20773
This commit is contained in:
CaptainB 2022-12-28 12:26:09 +08:00 committed by 刘瑞斌
parent 7774c79f62
commit f556b27d7d
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@
project.id as projectId, project_version.name as version_name project.id as projectId, project_version.name as version_name
from load_test_report ltr from load_test_report ltr
left join load_test lt on ltr.test_id = lt.id left join load_test lt on ltr.test_id = lt.id
join user on ltr.user_id = user.id left join user on ltr.user_id = user.id
join project on project.id = ltr.project_id join project on project.id = ltr.project_id
JOIN project_version on project.id = project_version.project_id AND ltr.version_id = project_version.id JOIN project_version on project.id = project_version.project_id AND ltr.version_id = project_version.id
<where> <where>