|
- using Learun.Util;
- using System.Collections.Generic;
-
- namespace Learun.Application.Organization
- {
- /// <summary>
- /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
- /// Copyright (c) 2013-2018 北京泉江科技有限公司
- /// 创建人:陈彬彬
- /// 日 期:2017.04.17
- /// 描 述:公司管理
- /// </summary>
- public interface CompanyIBLL
- {
- #region 获取数据
- /// <summary>
- /// 获取公司列表数据
- /// </summary>
- /// <returns></returns>
- List<CompanyEntity> GetList();
- /// <summary>
- /// 获取公司列表数据
- /// </summary>
- /// <param name="keyWord">查询关键字</param>
- /// <returns></returns>
- List<CompanyEntity> GetList(string keyWord);
- /// <summary>
- /// 获取公司列表信息(微信用)
- /// </summary>
- /// <param name="keyWord">查询关键字</param>
- /// <returns></returns>
- List<CompanyEntity> GetWeChatList(string keyWord);
- /// <summary>
- /// 获取微信人员树形数据
- /// </summary>
- /// <param name="parentId">父级id</param>
- /// <returns></returns>
- List<TreeModel> GetWeChatTree(string parentId);
- /// <summary>
- /// 获取公司信息实体
- /// </summary>
- /// <param name="keyValue">主键</param>
- /// <returns></returns>
- CompanyEntity GetEntity(string keyValue);
-
- bool GetAny();
- /// <summary>
- /// 获取树形数据
- /// </summary>
- /// <param name="parentId">父级id</param>
- /// <returns></returns>
- List<TreeModel> GetTree(string parentId);
-
- /// <summary>
- /// 获取公司本身和子公司的id
- /// </summary>
- /// <param name="parentId">父级ID</param>
- /// <returns></returns>
- List<string> GetSubNodes(string parentId);
-
-
- /// <summary>
- /// 获取公司映射数据
- /// </summary>
- /// <returns></returns>
- Dictionary<string, CompanyModel> GetModelMap();
- #endregion
-
- #region 提交数据
- /// <summary>
- /// 虚拟删除公司信息
- /// </summary>
- /// <param name="keyValue">主键</param>
- void VirtualDelete(string keyValue);
- /// <summary>
- /// 保存公司信息(新增、修改)
- /// </summary>
- /// <param name="keyValue">主键值</param>
- /// <param name="companyEntity">公司实体</param>
- /// <returns></returns>
- void SaveEntity(string keyValue, CompanyEntity companyEntity);
- #endregion
- }
- }
|