fix(项目管理): 修复消息中心点击模块数量会变问题

--bug=1039894 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039894
This commit is contained in:
guoyuqi 2024-04-22 18:54:17 +08:00 committed by Craftsman
parent da69cde43f
commit ab359ae179
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ public class NotificationService {
public List<OptionDTO> countNotification(NotificationRequest notificationRequest, String userId) {
List<OptionDTO> optionDTOS = new ArrayList<>();
buildParam(notificationRequest, userId);
notificationRequest.setResourceType(StringUtils.EMPTY);
List<NotificationDTO> notifications = baseNotificationMapper.listNotification(notificationRequest);
OptionDTO totalOptionDTO = new OptionDTO();
totalOptionDTO.setId("total");