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 Soft_OrderBLL { ISoft_OrderDAL iSoft_OrderDAL = null; public Soft_OrderBLL() { iSoft_OrderDAL = Factory.GetDALByInterfaceName(DALInterface.ISoft_OrderDAL) as ISoft_OrderDAL; } /// /// 添加 /// /// /// public bool InsertModel(Model.Soft_Order model) { return iSoft_OrderDAL.InserModel(model); } /// /// 更新 /// /// /// public bool UpdateModel(Model.Soft_Order model) { return iSoft_OrderDAL.UpdateModel(model); } /// /// 删除 /// /// /// public bool DeleteModel(Model.Soft_Order model) { return iSoft_OrderDAL.DeleteModel(model); } /// /// 根据编号获得信息 /// /// 编号 /// public Soft_Order GetModelByKeyid(int? Keyid) { return iSoft_OrderDAL.GetModelByKeyid(Keyid); } /// /// 分页查询 /// /// /// public IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination,int? _ClientId,string _ClientName,int? _SoftId,string _SoftName,string _KeyCode,int? _OrderMoney,int? _OrderReceiveMoney,int? _OrderStatus,string _OrderNum,DateTime? _BeginCreatTime,DateTime? _EndCreatTime,DateTime? _BeginLastUpdateTime,DateTime? _EndLastUpdateTime,string _Operator) { return iSoft_OrderDAL.SelectModelPage(pagination, _ClientId, _ClientName, _SoftId, _SoftName, _KeyCode, _OrderMoney, _OrderReceiveMoney, _OrderStatus, _OrderNum,_BeginCreatTime,_EndCreatTime,_BeginLastUpdateTime,_EndLastUpdateTime, _Operator); } } }