using Learun.Util;
using System.Collections.Generic;
namespace Learun.Application.Organization
{
///
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
/// Copyright (c) 2013-2018 Hexagon PPM
/// 创建人:研发部
/// 日 期:2017.04.17
/// 描 述:部门管理
///
public interface DepartmentIBLL
{
#region 获取数据
///
/// 获取部门列表信息(根据公司Id)
///
/// 公司Id
///
List GetList(string companyId);
///
/// 获取部门列表信息(根据公司Id)
///
/// 公司Id
/// 查询关键字
///
List GetList(string companyId, string keyWord);
///
/// 获取部门数据实体
///
/// 主键
///
DepartmentEntity GetEntity(string keyValue);
///
/// 获取部门数据实体
///
/// 公司主键
/// 部门主键
///
DepartmentEntity GetEntity(string companyId, string departmentId);
///
/// 获取树形数据
///
/// 公司id
/// 父级id
///
List GetTree(string companyId, string parentId);
///
/// 获取树形数据
///
/// 公司id
/// 父级id
///
List GetTree(List companylist);
///
/// 获取部门本身和子部门的id
///
/// 父级ID
///
List GetSubNodes(string companyId, string parentId);
///
/// 获取部门映射数据
///
///
Dictionary GetModelMap();
///
/// 获取部门列表信息
///
///
List GetAllList();
#endregion
#region 提交数据
///
/// 虚拟删除部门信息
///
/// 主键
void VirtualDelete(string keyValue);
///
/// 保存部门信息(新增、修改)
///
/// 主键值
/// 部门实体
///
void SaveEntity(string keyValue, DepartmentEntity departmentEntity);
#endregion
}
}