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