fix(测试跟踪): 测试跟踪_修复公共用例库展示缺陷

This commit is contained in:
wxg0103 2022-01-18 17:28:32 +08:00 committed by jianxing
parent f51a4ee186
commit d152eda6cc
1 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.orders"/>) test_case right join
(select
max(test_case.update_time) update_time
max(test_case.update_time) update_time , ref_id
from test_case left join user u on test_case.create_user=u.id
left join (select id,workspace_id,NAME from project where workspace_id =#{request.workspaceId})
project on test_case.project_id = project.id
@ -403,7 +403,7 @@
</if>
</where>
group by test_case.ref_id
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.orders"/>) tmp on test_case.update_time = tmp.update_time
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.orders"/>) tmp on test_case.update_time = tmp.update_time and test_case.ref_id = tmp.ref_id
</select>