소스 검색

BUG修改

xiao547607 4 년 전
부모
커밋
9484c25b76
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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">