From 885f3fae53b158660ff0fe239b352850dfa4c61e Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期二, 21 三月 2023 14:58:23 +0800
Subject: [PATCH] 被拒绝返回数据接口

---
 src/main/resources/mapper/GroupDao.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/GroupDao.xml b/src/main/resources/mapper/GroupDao.xml
index 9cb2fd2..e0d8f12 100644
--- a/src/main/resources/mapper/GroupDao.xml
+++ b/src/main/resources/mapper/GroupDao.xml
@@ -15,6 +15,7 @@
                  JOIN report ON report.id = group_user.user_id
                  JOIN `user` ON `user`.id = report.user_id
         where group_id = #{groupId}
+        GROUP BY user.id
     </select>
 
 </mapper>

--
Gitblit v1.8.0