From a93cecfb49c06cd39f363bc6202a8779ab15b06e Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 26 十二月 2022 17:16:17 +0800
Subject: [PATCH] fix: 工作台群消息
---
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