From 13c0e173eeaede98217ecca45f09c74a863f3175 Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期二, 21 三月 2023 14:46:45 +0800
Subject: [PATCH] ok
---
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