mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-23 13:56:39 +08:00
java/fix orderby clause which not in SELECT for mysql8
This commit is contained in:
parent
6dbb9ecd39
commit
384613c1fe
@ -55,7 +55,7 @@
|
|||||||
<foreach collection="roleIds" item="item" open="(" close=")" separator=",">
|
<foreach collection="roleIds" item="item" open="(" close=")" separator=",">
|
||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
order by r.create_time desc
|
order by p.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="listByRoleId" resultMap="PrivilegeEntity">
|
<select id="listByRoleId" resultMap="PrivilegeEntity">
|
||||||
|
Loading…
Reference in New Issue
Block a user