Browse Source

角色sql修改

于继渤 2 năm trước cách đây
mục cha
commit
d2a27719ac

+ 1 - 1
src/main/java/com/dk/mdm/mapper/mst/RoleMapper.xml

@@ -127,7 +127,7 @@
         '预制'  AS "displayStatus"
         '预制'  AS "displayStatus"
         FROM dkic_b.t_mst_role
         FROM dkic_b.t_mst_role
         <include refid="Condition"/>
         <include refid="Condition"/>
-        ORDER BY display_no
+        ORDER BY display_no desc
         <if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
         <if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
             limit #{end} offset #{start}
             limit #{end} offset #{start}
         </if>
         </if>