using System; using System.Collections.Generic; using System.Threading.Tasks; using Datory; using GxPress.EnumConst; namespace GxPress.Repository.Interface.AdminVerify { public interface IAdminVerifyRepository : IRepository { /// /// 添加 /// /// /// Task InsertAsync(Entity.AdminVerify adminVerify); /// /// 清空 /// /// /// /// Task DeleteAllAsync(int userId); /// /// 修改 /// /// /// /// Task UpdateAsync(int id, AdminVerifyTypeConst disposeTyeConst); /// /// 修改 /// /// /// Task UpdateAsync(SqlKata.Query query); /// /// 根据ID查询 /// /// /// Task GetAsync(int id); /// /// 根据用户查询 /// /// /// /// Task> GetAllAsync(SqlKata.Query query); /// /// 查询未处理 /// /// /// Task GetUDisposeCount(int userId); /// /// 根据ID查询 /// /// /// Task GetAsync(SqlKata.Query query); Task InsertAsync(List adminVerifys); /// /// 获取用户的验证时间信息 /// /// /// Task GetConfirmationDate(int userId); } }