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 Sys_LoginRecordBLL
|
{
|
ISys_LoginRecordDAL iSys_LoginRecordDAL = null;
|
|
public Sys_LoginRecordBLL()
|
{
|
iSys_LoginRecordDAL = Factory.GetDALByInterfaceName(DALInterface.ISys_LoginRecordDAL) as ISys_LoginRecordDAL;
|
}
|
|
/// <summary>
|
/// 添加
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool InsertModel(Model.Sys_LoginRecord model)
|
{
|
return iSys_LoginRecordDAL.InserModel(model);
|
}
|
|
/// <summary>
|
/// 更新
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool UpdateModel(Model.Sys_LoginRecord model)
|
{
|
|
return iSys_LoginRecordDAL.UpdateModel(model);
|
}
|
|
/// <summary>
|
/// 删除
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool DeleteModel(Model.Sys_LoginRecord model)
|
{
|
|
return iSys_LoginRecordDAL.DeleteModel(model);
|
}
|
|
/// <summary>
|
/// 根据编号获得信息
|
/// </summary>
|
/// <param name="Keyid">编号</param>
|
/// <returns></returns>
|
public Sys_LoginRecord GetModelByKeyid(int? Keyid)
|
{
|
return iSys_LoginRecordDAL.GetModelByKeyid(Keyid);
|
}
|
|
/// <summary>
|
/// 分页查询
|
/// </summary>
|
/// <param name="pagination"></param>
|
/// <returns></returns>
|
public IEnumerable<Model.Sys_LoginRecord> SelectModelPage(Infrastructure.Query.Pagination pagination,Guid _LoginMemberId,string _TrueMemberName,string _LoginIP,DateTime? _BeginLoginTime,DateTime? _EndLoginTime,string _LoginRemark)
|
{
|
return iSys_LoginRecordDAL.SelectModelPage(pagination, _LoginMemberId, _TrueMemberName, _LoginIP,_BeginLoginTime,_EndLoginTime, _LoginRemark);
|
}
|
}
|
}
|