Browse Source

BUG修改

xiao547607 4 years ago
parent
commit
5df3a4ac3f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      common/src/main/resources/mapper/base/MessageNotice.xml

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

@@ -207,8 +207,7 @@
 
 
 	<select id="findNotRead" resultType="int">
 	<select id="findNotRead" resultType="int">
 		SELECT
 		SELECT
-		b.is_read,
-		a.*
+		count(a.id_)
 		FROM
 		FROM
 		base_message_notice a
 		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