瀏覽代碼

BUG修改

xiao547607 4 年之前
父節點
當前提交
5df3a4ac3f
共有 1 個文件被更改,包括 1 次插入2 次删除
  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
-		b.is_read,
-		a.*
+		count(a.id_)
 		FROM
 		base_message_notice a
 		LEFT JOIN base_message_read b ON a.id_ = b.message_id