fix(项目管理): 修复消息中心查询数量问题
--bug=1039289 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039289
This commit is contained in:
parent
0e5c550b70
commit
1fadd7b397
|
@ -57,6 +57,7 @@ public class NotificationService {
|
||||||
List<OptionDTO> optionDTOS = new ArrayList<>();
|
List<OptionDTO> optionDTOS = new ArrayList<>();
|
||||||
buildParam(notificationRequest, userId);
|
buildParam(notificationRequest, userId);
|
||||||
notificationRequest.setResourceType(StringUtils.EMPTY);
|
notificationRequest.setResourceType(StringUtils.EMPTY);
|
||||||
|
notificationRequest.setStatus(NotificationConstants.Status.UNREAD.name());
|
||||||
List<NotificationDTO> notifications = baseNotificationMapper.listNotification(notificationRequest);
|
List<NotificationDTO> notifications = baseNotificationMapper.listNotification(notificationRequest);
|
||||||
OptionDTO totalOptionDTO = new OptionDTO();
|
OptionDTO totalOptionDTO = new OptionDTO();
|
||||||
totalOptionDTO.setId("total");
|
totalOptionDTO.setId("total");
|
||||||
|
|
Loading…
Reference in New Issue