Quellcode durchsuchen

新增校园新闻

Administrator vor 2 Jahren
Ursprung
Commit
ebb27e4245

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