fix: 修复 api test 场景复杂是列表查询慢的问题

This commit is contained in:
Captain.B 2020-08-26 13:22:07 +08:00
parent ec4632be45
commit 9f5f5acfda
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@
</sql>
<select id="list" resultMap="BaseResultMap">
select api_test.*, project.name as project_name, user.name as user_name
select api_test.id, api_test.project_id, api_test.name, api_test.description,
api_test.status, api_test.user_id, api_test.create_time, api_test.update_time, project.name as project_name, user.name as user_name
from api_test
left join project on api_test.project_id = project.id
left join user on api_test.user_id = user.id