浏览代码

配置文件修改

wangliang 3 年之前
父节点
当前提交
1fca292c3a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      teachcloud-common/src/main/resources/mapper/SysRoleMapper.xml

+ 1 - 0
teachcloud-common/src/main/resources/mapper/SysRoleMapper.xml

@@ -52,6 +52,7 @@
         select id, school_id, name, enable, type, create_id, create_time, update_id, update_time, default_role from sys_role
         select id, school_id, name, enable, type, create_id, create_time, update_id, update_time, default_role from sys_role
         where default_role = 1 and type <![CDATA[ <> ]]> 'ADMIN'
         where default_role = 1 and type <![CDATA[ <> ]]> 'ADMIN'
             ) t
             ) t
+        ORDER BY t.create_time
     </select>
     </select>
 
 
     <select id="listRolesBySchoolId" resultMap="BaseResultMap">
     <select id="listRolesBySchoolId" resultMap="BaseResultMap">