瀏覽代碼

认领账户排序

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">