@@ -473,6 +473,18 @@ namespace GxPress.Repository.Implement
FROM
tede_group_user
WHERE
+ GroupId = a.Id) AS UserCount,
+ (SELECT
+ COUNT(1)
+ FROM
+ tede_topic
+ WHERE
+ GroupId = a.Id) AS TopicCount,
+ tede_group_user
GroupId = a.Id AND UserId = {userId}
LIMIT 1) AS IsUser,
(SELECT