fix(项目管理): 修复消息中心查询数量问题

--bug=1039289 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039289
This commit is contained in:
guoyuqi 2024-04-25 12:35:21 +08:00 committed by 刘瑞斌
parent 0e5c550b70
commit 1fadd7b397
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ public class NotificationService {
List<OptionDTO> optionDTOS = new ArrayList<>();
buildParam(notificationRequest, userId);
notificationRequest.setResourceType(StringUtils.EMPTY);
notificationRequest.setStatus(NotificationConstants.Status.UNREAD.name());
List<NotificationDTO> notifications = baseNotificationMapper.listNotification(notificationRequest);
OptionDTO totalOptionDTO = new OptionDTO();
totalOptionDTO.setId("total");