Explorar o código

角色sql修改

于继渤 %!s(int64=2) %!d(string=hai) anos
pai
achega
d2a27719ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/dk/mdm/mapper/mst/RoleMapper.xml

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

@@ -127,7 +127,7 @@
         '预制'  AS "displayStatus"
         FROM dkic_b.t_mst_role
         <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">
             limit #{end} offset #{start}
         </if>