using System; using System.Collections.Generic; namespace RoadFlow.Data.Interface { public interface IWorkFlowDelegation { /// /// 新增 /// int Add(RoadFlow.Data.Model.WorkFlowDelegation model); /// /// 更新 /// int Update(RoadFlow.Data.Model.WorkFlowDelegation model); /// /// 查询所有记录 /// List GetAll(); /// /// 查询单条记录 /// Model.WorkFlowDelegation Get(Guid id); /// /// 删除 /// int Delete(Guid id); /// /// 查询记录条数 /// long GetCount(); /// /// 查询一个用户所有记录 /// List GetByUserID(Guid userID); /// /// 得到一页数据 /// /// /// /// /// /// /// List GetPagerData(out string pager, string query = "", string userID = "", string startTime = "", string endTime = ""); /// /// 得到未过期的委托 /// List GetNoExpiredList(); } }