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;
|
|
|
|
|
import com.ai.da.model.vo.GetNotificationVO;
|
|
|
|
|
import com.ai.da.model.vo.NotificationVO;
|
|
|
|
|
import com.ai.da.model.vo.PublishSysNotificationVO;
|
|
|
|
|
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();
|
|
|
|
|
|
|
|
|
|
PageBaseResponse<NotificationVO> getHistoryNotification(GetNotificationVO getNotificationVO);
|
|
|
|
|
|
|
|
|
|
void prePushMessage(Notification notification);
|
|
|
|
|
|
|
|
|
|
void cancelPushMessage(String type, Long senderId, Long receiverId, Long portfolioId, Long commentId);
|
|
|
|
|
|
|
|
|
|
Boolean setReadStatus(List<Long> notificationIdList, String type);
|
|
|
|
|
|
2024-08-16 10:32:15 +08:00
|
|
|
void setReadAll(String type);
|
|
|
|
|
|
2024-08-15 16:25:44 +08:00
|
|
|
void publishSystemNotification(PublishSysNotificationVO message);
|
|
|
|
|
}
|