gao.qiang hace 1 año
padre
commit
edd7c2e9de

+ 1 - 0
base-system/src/main/resources/mapper/system/SysRoleMapper.xml

@@ -128,6 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 			</if>
 			and r.del_flag = '1'
 		</where>     
+		     order by r.role_sort
 	</select>
 	<select id="getRoleKey" resultType="java.lang.String">
 		select role_key from sys_role where role_id = #{roleId}