diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/service/NotificationService.java b/backend/services/system-setting/src/main/java/io/metersphere/system/service/NotificationService.java index 92c7c9ab66..70a96dd546 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/service/NotificationService.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/service/NotificationService.java @@ -57,6 +57,7 @@ public class NotificationService { List optionDTOS = new ArrayList<>(); buildParam(notificationRequest, userId); notificationRequest.setResourceType(StringUtils.EMPTY); + notificationRequest.setStatus(NotificationConstants.Status.UNREAD.name()); List notifications = baseNotificationMapper.listNotification(notificationRequest); OptionDTO totalOptionDTO = new OptionDTO(); totalOptionDTO.setId("total");