Files
aida_back/src/main/java/com/ai/da/service/MessageCenterService.java

29 lines
951 B
Java
Raw Normal View History

2024-08-15 16:25:44 +08:00
package com.ai.da.service;
import com.ai.da.common.response.PageBaseResponse;
import com.ai.da.mapper.primary.entity.Notification;
2024-08-21 10:23:55 +08:00
import com.ai.da.model.dto.GetNotificationDTO;
2024-08-15 16:25:44 +08:00
import com.ai.da.model.vo.NotificationVO;
2024-08-21 10:23:55 +08:00
import com.ai.da.model.dto.PublishSysNotificationDTO;
2024-08-15 16:25:44 +08:00
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import java.util.Map;
public interface MessageCenterService extends IService<Notification> {
Map<String, Long> getAllTypeMessageUnreadCount();
2024-08-21 10:23:55 +08:00
PageBaseResponse<NotificationVO> getHistoryNotification(GetNotificationDTO getNotificationDTO);
2024-08-15 16:25:44 +08:00
void prePushMessage(Notification notification);
void cancelPushMessage(String type, Long senderId, Long receiverId, Long portfolioId, Long commentId);
Boolean setReadStatus(List<Long> notificationIdList, String type);
void setReadAll(String type);
2024-08-21 10:23:55 +08:00
void publishSystemNotification(PublishSysNotificationDTO message);
2024-08-15 16:25:44 +08:00
}