Ver Fonte

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

duxin há 1 ano atrás
pai
commit
86d13f0090
1 ficheiros alterados com 1 adições e 1 exclusões
  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