zhaoxian пре 2 година
родитељ
комит
77fc8c5f67

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