mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-22 21:36:39 +08:00
java/fix orderby clause which not in SELECT for mysql8
This commit is contained in:
parent
9b3d2a78bd
commit
6dbb9ecd39
@ -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 rp.create_time desc
|
order by r.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="listByRoleId" resultMap="PrivilegeEntity">
|
<select id="listByRoleId" resultMap="PrivilegeEntity">
|
||||||
|
Loading…
Reference in New Issue
Block a user