feat: 通知公告临时提交

通知公告临时提交
This commit is contained in:
胡少翔
2024-09-12 18:08:02 +08:00
parent fa77b5cb8c
commit 9c765bda24
11 changed files with 110 additions and 5 deletions

View File

@@ -20,4 +20,26 @@
sn.release_time DESC
</select>
<select id="getMyNoticePage" resultType="com.youlai.boot.system.model.vo.NoticeVO">
SELECT
sn.id,
sn.title,
sn.release_by,
sn.priority,
sn.release_time,
sns.read_status
FROM
sys_notice sn
LEFT JOIN
sys_notice_status sns
ON
sn.id = sns.notice_id
<where>
<if test="queryParams.userId != null">
sns.user_id = #{queryParams.userId}
</if>
</where>
ORDER BY
sn.release_time DESC
</select>
</mapper>