【新增】资源排序

This commit is contained in:
MichaelWin
2026-02-05 21:32:00 +08:00
parent 740a343863
commit 476ea60b27

View File

@@ -17,6 +17,8 @@
<if test="resourcePageRequest.searchKey != null and resourcePageRequest.searchKey != ''"> <if test="resourcePageRequest.searchKey != null and resourcePageRequest.searchKey != ''">
and r.title like CONCAT('%', #{resourcePageRequest.searchKey}, '%') and r.title like CONCAT('%', #{resourcePageRequest.searchKey}, '%')
</if> </if>
</where> </where>
order by r.sort_code asc
</select> </select>
</mapper> </mapper>