fix(工作台): 优化最近使用排序问题 (#17876)

This commit is contained in:
王嘉豪
2026-01-26 15:56:22 +08:00
committed by GitHub
parent 70ef8133f7
commit 1467c2a5d8

View File

@@ -268,9 +268,14 @@
<if test="ew.info != null">
AND NOT EXISTS(select 1 from per_busi_resource community where core_opt_recent.resource_id = community.id)
</if>
<if test="ew.isAsc">
order by core_opt_recent.time asc
</if>
<choose>
<when test="ew.isAsc">
order by core_opt_recent.time asc
</when>
<otherwise>
order by core_opt_recent.time desc
</otherwise>
</choose>
</select>
<insert id="copyLinkJump">