Commit a3e97ed677447433a228f7727f5062f0baa929c7

Authored by RuoYi
1 parent 2d93e7ae

角色管理查询设置默认排序字段

ruoyi/src/main/resources/mybatis/system/SysRoleMapper.xml
... ... @@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
48 48 </if>
49 49 <!-- 数据范围过滤 -->
50 50 ${dataScope}
  51 + order by r.role_sort
51 52 </select>
52 53  
53 54 <select id="selectRolePermissionByUserId" parameterType="Long" resultMap="SysRoleResult">
... ...