using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using CY.IBaseDAL;
using CY.Model;
namespace CY.IDAL
{
///
/// 办公系统员工表-数据库操作接口
///
public interface IOA_StaffDAL : ICommonDAL, IPaging, IGetAllModel
{
///
/// 根据编号获得信息
///
/// 编号
///
OA_Staff GetModelByKeyid(int? Keyid);
///
/// 分页查询
///
///
///
///
///
///
///
IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination, int? DepartmentId, Guid MemberId, string MemberName, string Status);
///
/// 添加员工
///
///
///
///
bool AddStaff(OA_Staff m_OA_Staff, EC_MemberBasic m_EC_MemberBasic, OA_StaffRoleRel m_OA_StaffRoleRel);
///
/// 更新员工信息
///
///
///
///
bool UpdateStaff(OA_Staff m_OA_Staff, EC_MemberBasic m_EC_MemberBasic, OA_StaffRoleRel m_OA_StaffRoleRel);
///
/// 根据员工会员编号获得信息
///
/// 编号
///
OA_Staff GetModelByMemberId(Guid MemberId);
///
/// 根据厂商编号获取员工列表
///
///
///
///
///
IEnumerable SelectListByFirmId(Guid FirmId, bool? IsBusinessManager, bool? IsAccountManager);
///
/// 检测员工姓名是否重复
///
///
///
///
int IsExitsName(string Name, Guid MemberId);
///
/// 根据部门获取员工
///
///
///
DataTable GetStaffByDep(Guid FirmId,string DepartmentId);
///
/// 生日提醒
///
///
///
///
///
///
///
IEnumerable BirthdayRemind(Infrastructure.Query.Pagination pagination, int? DepartmentId, Guid MemberId, string MemberName, string Status);
}
}