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_WageAwardPunishBLL { IOA_WageAwardPunishDAL iOA_WageAwardPunishDAL = null; public OA_WageAwardPunishBLL() { iOA_WageAwardPunishDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_WageAwardPunishDAL) as IOA_WageAwardPunishDAL; } /// /// 添加 /// /// /// public bool InsertModel(Model.OA_WageAwardPunish model) { return iOA_WageAwardPunishDAL.InserModel(model); } /// /// 更新 /// /// /// public bool UpdateModel(Model.OA_WageAwardPunish model) { return iOA_WageAwardPunishDAL.UpdateModel(model); } /// /// 删除 /// /// /// public bool DeleteModel(Model.OA_WageAwardPunish model) { return iOA_WageAwardPunishDAL.DeleteModel(model); } /// /// 根据编号获得信息 /// /// 编号 /// public OA_WageAwardPunish GetModelByKeyid(int? Keyid) { return iOA_WageAwardPunishDAL.GetModelByKeyid(Keyid); } /// /// 分页查询 /// /// /// public IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination, Guid _FirmId, Guid _MemberId, string _RecTitle, DateTime? _BeginRecTime, DateTime? _EndRecTime, int? _RecType, string _RecContent, decimal? _RecMoney, int? _PlanId, DateTime? _BeginLastUpdateTime, DateTime? _EndLastUpdateTime, string _Operator) { return iOA_WageAwardPunishDAL.SelectModelPage(pagination, _FirmId, _MemberId, _RecTitle, _BeginRecTime, _EndRecTime, _RecType, _RecContent, _RecMoney, _PlanId, _BeginLastUpdateTime, _EndLastUpdateTime, _Operator); } /// /// 分页查询-奖惩统计 /// /// /// /// /// /// public IEnumerable SelectModelPageByWage(Infrastructure.Query.Pagination pagination, Guid MemberId, int? DepartmentId, string PlanPeople, string StatisticsTime) { return iOA_WageAwardPunishDAL.SelectModelPageByWage(pagination, MemberId, DepartmentId, PlanPeople, StatisticsTime); } } }