xiao547607 %!s(int64=4) %!d(string=hai) anos
pai
achega
9484c25b76
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">