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_StaffResumeEducationBLL
|
{
|
IOA_StaffResumeEducationDAL iOA_StaffResumeEducationDAL = null;
|
|
public OA_StaffResumeEducationBLL()
|
{
|
iOA_StaffResumeEducationDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_StaffResumeEducationDAL) as IOA_StaffResumeEducationDAL;
|
}
|
|
/// <summary>
|
/// 添加
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool InsertModel(Model.OA_StaffResumeEducation model)
|
{
|
return iOA_StaffResumeEducationDAL.InserModel(model);
|
}
|
|
/// <summary>
|
/// 更新
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool UpdateModel(Model.OA_StaffResumeEducation model)
|
{
|
|
return iOA_StaffResumeEducationDAL.UpdateModel(model);
|
}
|
|
/// <summary>
|
/// 删除
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool DeleteModel(Model.OA_StaffResumeEducation model)
|
{
|
|
return iOA_StaffResumeEducationDAL.DeleteModel(model);
|
}
|
|
/// <summary>
|
/// 根据编号获得信息
|
/// </summary>
|
/// <param name="Keyid">编号</param>
|
/// <returns></returns>
|
public OA_StaffResumeEducation GetModelByKeyid(int? Keyid)
|
{
|
return iOA_StaffResumeEducationDAL.GetModelByKeyid(Keyid);
|
}
|
|
/// <summary>
|
/// 分页查询
|
/// </summary>
|
/// <param name="pagination"></param>
|
/// <returns></returns>
|
public IEnumerable<Model.OA_StaffResumeEducation> SelectModelPage(Infrastructure.Query.Pagination pagination,int? _Keyid,Guid _Memberid,string _R_E_StudyStartTime,string _R_E_StudyEndTime,string _R_E_SchoolName,string _R_E_Professional,string _R_E_ProfessionalDetail,int? _OrderNum,DateTime? _BeginLastUpdateTime,DateTime? _EndLastUpdateTime,string _Operator)
|
{
|
return iOA_StaffResumeEducationDAL.SelectModelPage(pagination, _Keyid, _Memberid, _R_E_StudyStartTime, _R_E_StudyEndTime, _R_E_SchoolName, _R_E_Professional, _R_E_ProfessionalDetail, _OrderNum,_BeginLastUpdateTime,_EndLastUpdateTime, _Operator);
|
}
|
}
|
}
|