mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-13 21:53:41 +08:00
fix:解决未读数不准确的问题
This commit is contained in:
@@ -78,7 +78,7 @@ public class ContactDao extends ServiceImpl<ContactMapper, Contact> {
|
||||
|
||||
public List<Contact> getByRoomIds(List<Long> roomIds, Long uid) {
|
||||
return lambdaQuery()
|
||||
.eq(Contact::getRoomId, roomIds)
|
||||
.in(Contact::getRoomId, roomIds)
|
||||
.eq(Contact::getUid, uid)
|
||||
.list();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user