using ce.autofac.extension; using learun.util; using System.Collections.Generic; using System.Threading.Tasks; namespace learun.iapplication { /// /// 版 本 EasyCode EC管理后台 /// Copyright (c) 2019-present EC管理有限公司 /// 创建人:tobin /// 日 期:2020.04.07 /// 描 述:移动端功能管理 /// public interface FunctionIBLL : IBLL { #region 获取数据 /// /// 获取分页列表 /// /// 分页参数 /// 关键字 /// 分类 /// Task> GetPageList(Pagination pagination, string keyword, string type); /// /// 获取列表数据 /// /// Task> GetList(); /// /// 获取实体对象 /// /// 主键 /// Task GetEntity(string keyValue); /// /// 获取移动功能模板 /// /// 主键 /// Task GetScheme(string keyValue); /// /// 获取树形移动功能列表 /// /// Task> GetCheckTree(); #endregion 获取数据 #region 提交数据 /// /// 删除 /// /// 主键 Task Delete(string keyValue); /// /// 保存 /// /// 主键 /// 功能信息 /// 功能模板信息 Task SaveEntity(string keyValue, FunctionEntity functionEntity, FunctionSchemeEntity functionSchemeEntity); /// /// 更新状态 /// /// 模板信息主键 /// 状态1启用0禁用 Task UpdateState(string keyValue, int state); #endregion 提交数据 } }