ソースを参照

优化MySQL 8.0 bug

wuxw 3 年 前
コミット
57cf2e762b
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      java110-db/src/main/resources/mapper/user/RoleCommunityV1ServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/user/RoleCommunityV1ServiceDaoImplMapper.xml

@@ -163,7 +163,7 @@
         <if test="storeId !=null and storeId != ''">
             and t.store_id= #{storeId}
         </if>
-        order by t.create_time desc
+        order by t.community_id desc
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>