浏览代码

新增校园新闻

Administrator 2 年之前
父节点
当前提交
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 id="selectXiaoyuanNoticeMyList" resultMap="XiaoyuanNoticeResult">
         <include refid="selectXiaoyuanNoticeVo"/>
-        where sender_id = #{senderId}
+        where sender_id = #{senderId} order by create_time DESC
     </select>
 
     <insert id="insertXiaoyuanNotice" parameterType="XiaoyuanNotice" useGeneratedKeys="true" keyProperty="noticeId">