using Learun.Util;
using System.Collections.Generic;
namespace Learun.Application.Base.SystemModule
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创建人:陈彬彬
/// 日 期:2017.04.01
/// 描 述:行政区域
///
public interface AreaIBLL
{
#region 获取数据
///
/// 获取区域列表数据
///
/// 父节点主键(0表示顶层)
///
List GetList(string parentId);
///
/// 获取区域列表数据
///
/// 父节点主键(0表示顶层)
/// 关键字查询(名称/编号)
///
List GetList(string parentId, string keyword);
///
/// 获取区域数据树(某一级的)
///
/// 父级主键
///
List GetTree(string parentId);
///
/// 区域实体
///
/// 主键值
///
AreaEntity GetEntity(string keyValue);
///
/// 根据编码获取实体
///
///
///
AreaEntity GetEntityByCode(string code);
#endregion
#region 提交数据
///
/// 虚拟删除区域
///
/// 主键
void VirtualDelete(string keyValue);
///
/// 保存区域表单(新增、修改)
///
/// 主键值
/// 区域实体
///
void SaveEntity(string keyValue, AreaEntity areaEntity);
#endregion
}
}