using System.Collections.Generic; using System.Threading.Tasks; using GxPress.Entity; using Datory; using GxPress.Request.Notice; using GxPress.Result.Notice; using SqlKata; namespace GxPress.Repository.Interface { /// /// 收件人 /// public interface INoticeAddresseeRepository : IRepository { /// /// 根据通知ID获取抄送人 /// /// /// Task> GetNoticeAddresseeByNoticeIdAsync(int noticeId); Task DeleteAsync(int noticeId); Task InsertAsync(NoticeAddressee noticeAddressee); /// /// 插入收件人 /// /// /// Task InsertAsync(List noticeAddressees); Task> GetNoticeAddresseeByUserIdIdAsync(NoticeReadListRequest request); Task CountAsync(SqlKata.Query query); Task> GetAllAsync(SqlKata.Query query); Task UpdateAsync(SqlKata.Query query); /// /// 获取收件人 /// /// /// Task> GetUserByNoticeIdAsync(int noticeId); Task ExistsAsync(Query query); } }