using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IDAL;
using CY.Model;
using AbstractFactory;
using CY.IBaseDAL;
using CY.Infrastructure.DESEncrypt;
using CY.Infrastructure.Query;
namespace CY.BLL
{
public class OA_StaffResumeBLL
{
IOA_StaffResumeDAL iOA_StaffResumeDAL = null;
IOA_StaffResumeEducationDAL iOA_StaffResumeEducationDAL = null;
IOA_StaffResumeIntentionDAL iOA_StaffResumeIntentionDAL = null;
IOA_StaffResumeWorkDAL iOA_StaffResumeWorkDAL = null;
public OA_StaffResumeBLL()
{
iOA_StaffResumeDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeDAL) as IOA_StaffResumeDAL;
iOA_StaffResumeEducationDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeEducationDAL) as IOA_StaffResumeEducationDAL;
iOA_StaffResumeIntentionDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeIntentionDAL) as IOA_StaffResumeIntentionDAL;
iOA_StaffResumeWorkDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeWorkDAL) as IOA_StaffResumeWorkDAL;
}
///
/// 添加
///
///
///
public bool InsertModel(Model.OA_StaffResume model)
{
return iOA_StaffResumeDAL.InserModel(model);
}
///
/// 更新
///
///
///
public bool UpdateModel(Model.OA_StaffResume model)
{
return iOA_StaffResumeDAL.UpdateModel(model);
}
///
/// 保存简历
///
///
///
///
///
///
public bool SaveResume(OA_StaffResume m_OA_StaffResume, OA_StaffResumeIntention m_OA_StaffResumeIntention, List m_OA_StaffResumeEducationList, List m_OA_StaffResumeWorkList)
{
return iOA_StaffResumeDAL.SaveResume(m_OA_StaffResume, m_OA_StaffResumeIntention, m_OA_StaffResumeEducationList, m_OA_StaffResumeWorkList);
}
///
/// 删除
///
///
///
public bool DeleteModel(Model.OA_StaffResume model)
{
return iOA_StaffResumeDAL.DeleteModel(model);
}
///
/// 根据编号获得信息
///
/// 编号
///
public OA_StaffResume GetModelByKeyid(int? Keyid)
{
return iOA_StaffResumeDAL.GetModelByKeyid(Keyid);
}
///
/// 根据厂商编号获得信息
///
/// 厂商编号
///
public OA_StaffResume GetModelByMemberid(Guid Memberid)
{
return iOA_StaffResumeDAL.GetModelByMemberid(Memberid);
}
///
/// 根据编号获得信息
///
/// 编号
///
public IEnumerable GetOA_StaffResumeEducationListByKeyid(Guid Memberid)
{
return iOA_StaffResumeEducationDAL.GetListByMemberid(Memberid);
}
///
/// 根据编号获得信息
///
/// 编号
///
public OA_StaffResumeIntention GetOA_StaffResumeIntentionByKeyid(Guid Memberid)
{
return iOA_StaffResumeIntentionDAL.GetModelByMemberid(Memberid);
}
///
/// 根据编号获得信息
///
/// 编号
///
public IEnumerable GetOA_StaffResumeWorkListByKeyid(Guid Memberid)
{
return iOA_StaffResumeWorkDAL.GetListByMemberid(Memberid);
}
///
/// 分页查询
///
///
///
public IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination, Guid _Memberid, string _R_G_Avatar, string _R_G_Name, string _R_G_Sex, string _R_G_WorkYear, string _R_G_Degree, string _R_G_DocumentsType, string _R_G_DocumentsNumber, string _R_G_Email, string _R_G_Moblie, string _R_G_WorkPhone, string _R_G_HomePhone, string _R_G_NowProvince, string _R_G_NowCity, string _R_G_NowArea, string _R_G_NowAddress, string _R_G_OldProvence, string _R_G_OldCity, string _R_G_OldArea, string _R_G_OldAdress, DateTime? _BeginR_G_CreatTime, DateTime? _EndR_G_CreatTime, int? _R_G_Language, string _R_G_YearsMoney, string _R_G_WorkStatus, string _R_G_QQ, string _R_G_YouHome, int? _R_G_YouHeight, int? _R_G_YouWeight, int? _R_G_MarryStatus, string _R_G_YouPolitical, int? _R_G_Status, int? _OrderNum, DateTime? _BeginLastUpdateTime, DateTime? _EndLastUpdateTime, string _Operator)
{
return iOA_StaffResumeDAL.SelectModelPage(pagination, _Memberid, _R_G_Avatar, _R_G_Name, _R_G_Sex, _R_G_WorkYear, _R_G_Degree, _R_G_DocumentsType, _R_G_DocumentsNumber, _R_G_Email, _R_G_Moblie, _R_G_WorkPhone, _R_G_HomePhone, _R_G_NowProvince, _R_G_NowCity, _R_G_NowArea, _R_G_NowAddress, _R_G_OldProvence, _R_G_OldCity, _R_G_OldArea, _R_G_OldAdress, _BeginR_G_CreatTime, _EndR_G_CreatTime, _R_G_Language, _R_G_YearsMoney, _R_G_WorkStatus, _R_G_QQ, _R_G_YouHome, _R_G_YouHeight, _R_G_YouWeight, _R_G_MarryStatus, _R_G_YouPolitical, _R_G_Status, _OrderNum, _BeginLastUpdateTime, _EndLastUpdateTime, _Operator);
}
///
/// 分页查询
///
///
///
public IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination, DateTime? _BeginR_G_CreatTime, string _R_G_Sex, string _R_G_WorkYear, int? _R_I_Consultants_id, string _R_I_PostName)
{
return iOA_StaffResumeDAL.SelectModelPage(pagination, _BeginR_G_CreatTime, _R_G_Sex, _R_G_WorkYear, _R_I_Consultants_id, _R_I_PostName);
}
}
}