Browse Source

优化排序

java110 5 years ago
parent
commit
a4a82e5050

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

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