Browse Source

BUG修改

xiao547607 3 years ago
parent
commit
9484c25b76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/src/main/resources/mapper/base/MessageNotice.xml

+ 1 - 1
common/src/main/resources/mapper/base/MessageNotice.xml

@@ -210,7 +210,7 @@
 		count(a.id_)
 		FROM
 		base_message_notice a
-		LEFT JOIN base_message_read b ON a.id_ = b.message_id
+		LEFT JOIN base_message_read b ON a.id_ = b.message_id  and b.user_id = #{userId}
 		WHERE
 		a.del_flag = 0
 		<if test="classify != null">