浏览代码

fix:私信未读消息统计修改

duxin 1 年之前
父节点
当前提交
86d13f0090
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rpc/internal/common/sendMsg.go

+ 1 - 1
rpc/internal/common/sendMsg.go

@@ -285,7 +285,7 @@ SELECT
 	WHERE
 	my_position_id = %d  
 	AND unread > 0  
-	union 
+	UNION ALL
 	SELECT
 		SUM( unread ) as unread
 	FROM