瀏覽代碼

优化排序

java110 5 年之前
父節點
當前提交
a4a82e5050
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      java110-db/src/main/resources/mapper/community/MenuServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/community/MenuServiceDaoImplMapper.xml

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