fix(测试跟踪): 测试跟踪_修复公共用例库展示缺陷
This commit is contained in:
parent
d37e7bae3d
commit
e33b820368
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue