瀏覽代碼

更改排序

dos 2 月之前
父節點
當前提交
243bb8b389
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      game-business/src/main/resources/mapper/business/AppUsersAuthMapper.xml

+ 1 - 1
game-business/src/main/resources/mapper/business/AppUsersAuthMapper.xml

@@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="cerNo != null  and cerNo != ''"> and cer_no = #{cerNo}</if>
             <if test="cerNo != null  and cerNo != ''"> and cer_no = #{cerNo}</if>
             <if test="status != null "> and status = #{status}</if>
             <if test="status != null "> and status = #{status}</if>
         </where>
         </where>
-        order by uptime desc , addtime desc
+        order by status asc,addtime desc
     </select>
     </select>
     
     
     <select id="selectAppUsersAuthByUid" parameterType="Long" resultMap="AppUsersAuthResult">
     <select id="selectAppUsersAuthByUid" parameterType="Long" resultMap="AppUsersAuthResult">