소스 검색

新增校园新闻

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">