using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using SqlSugar; using XF.Domain.Entities; namespace XF.Domain.Repository { //public interface IRepositoryWorkflow : IRepositorySqlSugar // where TEntity : class, IEntity, new() // where TKey : IEquatable //{ // ISugarQueryable Queryable(bool permissionVerify = false, bool includeDeleted = false, bool workflowFilter = true); //} //public interface IRepositoryWorkflow : IRepositoryWorkflow where TEntity : class, IEntity, new() //{ //} public interface IRepositoryWorkflow : IRepositorySqlSugar where TEntity : class, IEntity, new() { /// /// /// /// /// /// 是否可查看 /// 是否已办理,null: 不过滤 /// 是否是管理员 /// ISugarQueryable Queryable(bool permissionVerify = false, bool includeDeleted = false, bool canView = false, bool? hasHandled = null, bool? isAdmin = false); } }