소스 검색

app消息中心倒序

luowei 1 년 전
부모
커밋
1dc1dd8516
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      soc-modules/soc-modules-core/src/main/resources/mapper/information/CoreMessageCenterMapper.xml

+ 1 - 0
soc-modules/soc-modules-core/src/main/resources/mapper/information/CoreMessageCenterMapper.xml

@@ -73,6 +73,7 @@
         <if test="request.userId !=null">
             and user_id=#{request.userId}
         </if>
+        ORDER BY create_time DESC
     </select>
     <select id="selectNoRead" resultType="java.lang.Integer">
         SELECT