fix(性能测试): 修复查询报告没有返回projectId的bug

This commit is contained in:
Captain.B 2021-04-27 11:07:52 +08:00 committed by 刘瑞斌
parent 15b6a69b45
commit 474e09fe51
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@
select ltr.id, ltr.name, ltr.test_id as testId, ltr.max_users maxUsers, ltr.avg_response_time avgResponseTime, select ltr.id, ltr.name, ltr.test_id as testId, ltr.max_users maxUsers, ltr.avg_response_time avgResponseTime,
ltr.tps, ltr.description, user.name as userName, project.name as ltr.tps, ltr.description, user.name as userName, project.name as
projectName, ltr.trigger_mode, projectName, ltr.trigger_mode,
ltr.create_time as createTime, ltr.update_time as updateTime, ltr.status as status, lt.name as testName ltr.create_time as createTime, ltr.update_time as updateTime, ltr.status as status, lt.name as testName,
project_id as projectId
from load_test_report ltr from load_test_report ltr
join load_test lt on ltr.test_id = lt.id join load_test lt on ltr.test_id = lt.id
join user on ltr.user_id = user.id join user on ltr.user_id = user.id