using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Datory; using GxPress.Request.App.WaitHandle; using GxPress.Result.App.WaitHandle; using SqlKata; namespace GxPress.Repository.Interface.WaitHandle { public interface IWaitHandleRepository : IRepository { Task InsertAsync(Entity.WaitHandle.WaitHandle waitHandle); Task UpdateAsync(Entity.WaitHandle.WaitHandle waitHandle); Task UpdateAsync(Query query); Task DeleteAsync(int id); Task DeleteAsync(Query query); Task GetAsync(Query query); Task GetAsync(int id); Task> GetAllAsync(Query query); Task CountAsync(Query query); /// /// 查询 /// /// /// Task GetAllAsync(ListWaitHandleRequest request); Task GetUFinishAsync(int userId); /// /// 获取详情 /// /// /// Task GetWaitAsync(int id); } }