using Crm.Core.Domain.Dto.CRM; using Crm.Core.Entity.Crm; namespace Crm.Core.Domain.Impl { public interface INotificationDomain : ITransientDependency { Task InsetNotification(OrderUserProtectionDto orderUserProtectionDto, string message); Task InsetNotification(SendMessageDto dto); Task InsetNotificationStatistics(OrderUserProtectionDto orderUserProtectionDto); Task> GetNotificationsByEid(decimal eid, string appid); Task> GetNotificationsPage(NotificationSearchPageDto search); Task Read(List messageIds); Task RealAll(); Task> GetNotificationStatisticsPage(NotificationStatisticsSearchPageDto dto); Task GetMessageCount(decimal? eid, NotificationType? notificationType = null, string? connectionId = ""); Task WeworkSend(string? appid, string? appuserid, decimal eid, string message); Task SendMessage(SendMessageDto dto); Task GetRepeatDeptments(); } }