using Learun.Util;
using System.Data;
using System.Collections.Generic;
namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创 建:超级管理员
/// 日 期:2019-01-29 17:31
/// 描 述:教师信息管理
///
public interface EmpInfoIBLL
{
#region 获取数据
///
/// 获取页面显示列表数据
///
/// 查询参数
///
IEnumerable GetPageList(Pagination pagination, string queryJson);
IEnumerable GetAllList();
bool GetAny();
///
/// 获取EmpInfo表实体数据
/// 主键
///
///
EmpInfoEntity GetEmpInfoEntity(string keyValue);
///
/// 获取页面显示列表数据
///
/// 查询参数
///
IEnumerable GetList(string queryJson);
IEnumerable GetEmpInfoEntitiesByName(string name);
EmpInfoEntity GetEmpInfoEntityByIdCard(string idcard);
///
/// 教师年龄比例
///
///
EmpInfoEntity GetEmpInfoAgeRate();
#endregion
#region 提交数据
///
/// 生成教师帐号
///
void GenerateAccout(string empId=null);
void Lock(string keyValue);
void UnLock(string keyValue);
///
/// 删除实体数据
/// 主键
///
///
void DeleteEntity(string keyValue);
///
/// 保存实体数据(新增、修改)
/// 主键
///
///
void SaveEntity(string keyValue, EmpInfoEntity entity);
void SaveEntity(UserInfo userInfo, string keyValue, EmpInfoEntity entity);
void UpdatePhoto(string id, string photo);
void UpdateQRCodeStatus(string keyValue, int QRCodeStatus);
#endregion
void CheckAll();
EmpInfoEntity GetEmpInfoEntityByEmpNo(string keyValue);
List GetEmpInfoEntityByDepartment(string keyValue);
void UpdateAccount(string empId=null);
EmpInfoEntity GetEmpInfoEntityById(string id);
///
/// 保存部门、系部
/// 主键
///
///
void SaveEditEntity(string keyValue, EmpInfoEntity entity);
}
}