fix: 修复 api test 场景复杂是列表查询慢的问题
This commit is contained in:
parent
ec4632be45
commit
9f5f5acfda
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue