feat: 新增通知公告功能
新增通知公告功能
This commit is contained in:
@@ -58,8 +58,6 @@
|
||||
where
|
||||
sn.is_deleted = 0
|
||||
AND sn.id = #{id}
|
||||
AND sn.release_status = 1
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user