فهرست منبع

认领账户排序

zhaoxian 2 سال پیش
والد
کامیت
77fc8c5f67
1فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده
  1. 1 5
      ruixuan-live/src/main/resources/mapper/jinniu/KuaishouAccountMapper.xml

+ 1 - 5
ruixuan-live/src/main/resources/mapper/jinniu/KuaishouAccountMapper.xml

@@ -244,7 +244,6 @@
             <if test="ksId != null and ksId != '' ">
                 AND t1.user_id = #{ksId}
             </if>
-            ORDER BY account_create_time DESC
             )
             union all
             (SELECT
@@ -269,7 +268,6 @@
                     AND ks_id = #{ksId}
                 </if>
             </where>
-            ORDER BY account_create_time DESC
             )
         </if>
         <if test="status == 2 ">
@@ -295,7 +293,6 @@
             <if test="ksId != null and ksId != '' ">
                 AND t1.user_id = #{ksId}
             </if>
-            ORDER BY account_create_time DESC
         </if>
         <if test="status == 1">
             SELECT
@@ -320,9 +317,8 @@
                     AND ks_id = #{ksId}
                 </if>
             </where>
-            ORDER BY account_create_time DESC
         </if>
-        ) t
+        ) t  ORDER BY accountCreateTime DESC
     </select>
 
     <insert id="insertRecord">