feat: 产品中心

This commit is contained in:
曹鹏飞 2025-06-23 14:36:56 +08:00
parent 5d26533fa5
commit 3859e9a8c9
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ public class TicketController extends ControllerBase {
Set<String> notReadeds = new LinkedHashSet<>(); Set<String> notReadeds = new LinkedHashSet<>();
if (CollectionUtil.isEmpty(readeds)) { if (CollectionUtil.isEmpty(readeds)) {
notReadeds = messageVOS.stream() notReadeds = messageVOS.stream()
.filter(m -> !Objects.equals(m.getSenderId(), userId)) .filter(m ->Objects.nonNull(m.getId()) && !Objects.equals(m.getSenderId(), userId))
.map(ChatMessageVO::getId) .map(ChatMessageVO::getId)
.collect(Collectors.toSet()); .collect(Collectors.toSet());
} else { } else {