fix:解决未读数不准确的问题

This commit is contained in:
zhongzb
2023-09-12 22:53:07 +08:00
parent a1a1c4061b
commit 093419ed26

View File

@@ -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();
}