using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hg.Complaint.Domain.Impl { public interface IComplaintDomain : IScopedDependency { /// /// 分析消极消息 /// /// /// Task AnalyseNegativeMessage(NegativeMessageDto dto); /// /// 申请投诉 /// /// /// Task ApplyComplaint(ApplyComplaintDto dto); /// /// 分析投诉日志 /// /// /// Task AnalyseComplaintLog(ComplaintLogMessageDto messageDto); /// /// 获取队列数量 /// /// Task GetQueue(); /// /// 消费单个队列对象 /// /// Task DequeueQueue(); /// /// 获取队列信息 /// /// Task> GetQueues(); /// /// 分页 /// /// /// /// Task> GetPage(SearchComplaintDto dto, string? appid); /// /// 重新发起队列 /// /// Task> SyncQueue(); /// /// 获取投诉详情 /// /// /// Task GetComplaintDetail(int id); /// /// 根据资源id和业务线获取投诉详情 /// /// /// /// Task GetComplaintDetail(string? resid, int? deptid); /// /// 根据appid和业务线获取投诉详情 /// /// /// /// /// Task GetComplaintDetail(string? appid, string? appuserid, int? deptid); /// /// 更新投诉状态 /// /// /// /// Task UpdateComplaintStatus(UpdateComplaintStatusDto dto, string? appid); /// /// 获取跟进状态 /// /// /// Task GetComplaintStatus(int udid); /// /// 标记用户 /// /// /// Task MarkCustomer(MarkCustomerDto dto); /// /// 初始化处理过期未处理投诉 /// /// Task InitOverdueComplaint(); /// /// 处理过期未处理投诉 /// /// Task OverdueComplaint(); /// /// 刷新resid /// /// Task SyncResid(); /// /// 批量分配客户给客服 /// /// /// /// Task BatchAssignComplaint(BatchAssignComplaintDto dto, string? appid); /// /// /// /// /// Task MarkTrolls(MarkTrollsDto dto); Task ComplaintLabel(string resId); } }