From 1fadd7b39749f2084f789874ee1f725b468864be Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 25 Apr 2024 12:35:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B6=88=E6=81=AF=E4=B8=AD=E5=BF=83=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=95=B0=E9=87=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039289 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039289 --- .../java/io/metersphere/system/service/NotificationService.java | 1 + 1 file changed, 1 insertion(+) 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");