Administrator 2 лет назад
Родитель
Сommit
ebb27e4245
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/XiaoyuanNoticeMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/XiaoyuanNoticeMapper.xml

@@ -69,7 +69,7 @@ WHERE
     </select>
     </select>
     <select id="selectXiaoyuanNoticeMyList" resultMap="XiaoyuanNoticeResult">
     <select id="selectXiaoyuanNoticeMyList" resultMap="XiaoyuanNoticeResult">
         <include refid="selectXiaoyuanNoticeVo"/>
         <include refid="selectXiaoyuanNoticeVo"/>
-        where sender_id = #{senderId}
+        where sender_id = #{senderId} order by create_time DESC
     </select>
     </select>
 
 
     <insert id="insertXiaoyuanNotice" parameterType="XiaoyuanNotice" useGeneratedKeys="true" keyProperty="noticeId">
     <insert id="insertXiaoyuanNotice" parameterType="XiaoyuanNotice" useGeneratedKeys="true" keyProperty="noticeId">