using Learun.Application.Organization; using Learun.Util; using System.Collections.Generic; namespace Learun.Application.Base.SystemModule { /// /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 /// Copyright (c) 2013-2018 北京泉江科技有限公司 /// 创建人:陈彬彬 /// 日 期:2017.03.08 /// 描 述:自定义查询 /// public interface CustmerQueryIBLL { #region 获取数据 /// /// 获取自定义查询(公共)分页数据 /// /// 分页参数 /// 关键字 /// IEnumerable GetPageList(Pagination pagination, string keyword); /// /// 获取自定义查询条件 /// /// 访问的功能链接地址 /// 用户ID(用户ID为null表示公共) /// List GetList(string moduleUrl, string userId); /// /// 获取自定义查询条件(用于具体使用) /// /// /// /// List GetCustmerList(string moduleUrl, string userId); #endregion #region 提交数据 /// /// 删除自定义查询条件 /// /// 主键 void DeleteEntity(string keyValue); /// /// 保存自定义查询(新增、修改) /// /// 主键值 /// 部门实体 /// void SaveEntity(string keyValue, CustmerQueryEntity custmerQueryEntity); #endregion #region 扩展方法 /// /// 将条件转化成sql语句 /// /// 查询条件 /// 公式,没有就默认采用and连接 /// 账号信息 /// string ConditionToSql(string queryJson, string formula, UserEntity userEntity); #endregion } }