feat: 新增通知公告功能

新增通知公告功能
This commit is contained in:
胡少翔
2024-09-14 11:14:23 +08:00
parent 0c47c8eca9
commit a7131263c6
7 changed files with 69 additions and 7 deletions

View File

@@ -58,8 +58,6 @@
where
sn.is_deleted = 0
AND sn.id = #{id}
AND sn.release_status = 1
</select>
</mapper>

View File

@@ -38,6 +38,9 @@
<if test="queryParams.userId != null">
sns.user_id = #{queryParams.userId}
</if>
<if test="queryParams.title != null and queryParams.title != ''">
AND sn.title LIKE CONCAT('%',#{queryParams.title},'%')
</if>
</where>
ORDER BY
sn.release_time DESC