This commit is contained in:
zhujunshuai
2023-02-02 16:46:35 +08:00
parent 20dc71421d
commit a0d5f0fb3c
165 changed files with 248 additions and 3082 deletions

View File

@@ -191,8 +191,8 @@
IF ( nrr.id IS NULL, 0, 1 ) readStatus
FROM
tb_pluss_notice n
LEFT JOIN tb_pluss_notice_read_record nrr ON n.id = nrr.noticeId
AND nrr.userId = n.userId
LEFT JOIN tb_pluss_notice_read_record nrr ON n.id = nrr.noticeId AND nrr.type='2'
AND nrr.userId = #{userId}
<where>
<if test="id!= null">
and n.id = #{id}