using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using QMFrameWork.Data;
using QMFrameWork.Common.Encrypt;
using QMAPP.Entity.Sys;
using QMAPP.DAL.Sys;
using QMAPP.BLL.Dict;
using System.Data;
namespace QMAPP.BLL.Sys
{
///
/// 系统操作LOG记录
/// 创建者:王云峰
/// 创建日期:2014.7.3
///
public class SystemOperateLogBLL : BaseBLL
{
#region 获取列表
///
/// 获取列表
///
///
///
///
public DataPage GetList(SystemOperateLog log, DataPage page)
{
try
{
page = new SystemOperateLogDAL().GetList(log, page);
List retList = (List)page.Result;
return page;
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 插入数据
///
/// 插入数据
///
///
///
public int Insert(SystemOperateLog log)
{
try
{
log.OperateID = Guid.NewGuid().ToString();
//操作用户
log.UserID = this.LoginUser.LoginUserID;
//操作时间
log.OperateTime = DateTime.Now.ToString();
return new SystemOperateLogDAL().Insert(log);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 获取导出的数据
///
/// 获取导出的数据
///
/// 查询条件
/// 数据
public DataTable GetExportData(SystemOperateLog log)
{
try
{
return new SystemOperateLogDAL().GetExportData(log);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
}
}