From a3e97ed677447433a228f7727f5062f0baa929c7 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期三, 29 四月 2020 22:26:05 +0800
Subject: [PATCH] 角色管理查询设置默认排序字段

---
 ruoyi/src/main/resources/mybatis/system/SysRoleMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ruoyi/src/main/resources/mybatis/system/SysRoleMapper.xml b/ruoyi/src/main/resources/mybatis/system/SysRoleMapper.xml
index f5281b9..a5e7be0 100644
--- a/ruoyi/src/main/resources/mybatis/system/SysRoleMapper.xml
+++ b/ruoyi/src/main/resources/mybatis/system/SysRoleMapper.xml
@@ -48,6 +48,7 @@
 		</if>
 		<!-- 数据范围过滤 -->
 		${dataScope}
+		order by r.role_sort
 	</select>
     
 	<select id="selectRolePermissionByUserId" parameterType="Long" resultMap="SysRoleResult">

--
Gitblit v1.9.2