Browse Source

消息去掉排序

anderx 1 year ago
parent
commit
602cb4018a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/mapper/NoticeMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/NoticeMapper.xml

@@ -213,7 +213,7 @@
     <if test="aid != null">
     	and n.aid = #{aid}
     </if>
-    order by n.create_time desc limit 1000
+    limit 1000
   </select>