Commit a3e97ed677447433a228f7727f5062f0baa929c7
1 parent
2d93e7ae
角色管理查询设置默认排序字段
Showing
1 changed file
with
1 additions
and
0 deletions
ruoyi/src/main/resources/mybatis/system/SysRoleMapper.xml
| @@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | @@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 48 | </if> | 48 | </if> |
| 49 | <!-- 数据范围过滤 --> | 49 | <!-- 数据范围过滤 --> |
| 50 | ${dataScope} | 50 | ${dataScope} |
| 51 | + order by r.role_sort | ||
| 51 | </select> | 52 | </select> |
| 52 | 53 | ||
| 53 | <select id="selectRolePermissionByUserId" parameterType="Long" resultMap="SysRoleResult"> | 54 | <select id="selectRolePermissionByUserId" parameterType="Long" resultMap="SysRoleResult"> |