using System;
using System.Collections.Generic;
using QMAPP.BLL;
using QMAPP.Entity;
using QMAPP.FJC.DAL.EM;
using QMAPP.FJC.DAL.FuntionDescriptionDAL;
using QMAPP.FJC.Entity;
using QMFrameWork.Data;
using QMFrameWork.Log;
namespace QMAPP.FJC.BLL.FuntionDescription
{
public class FuntionDescriptionBLL : BaseBLL
{
#region 获取列表
///
/// 获取列表
///
/// 条件
/// 数据页
/// 数据页
public DataResult GetCountList(QMAPP.Entity.FuntionDescription condition, DataPage page)
{
DataResult result = new DataResult();
try
{
DataPage dataPage = new FuntionDescriptionDAL().GetCountList(condition, page);
result.Result = dataPage;
}
catch (Exception ex)
{
LogManager.LogHelper.Error(new LogInfo()
{
ErrorInfo = ex,
Tag = ex.StackTrace,
Info = "热点查询-获取列表"
});
result.IsSuccess = false;
result.Msg = Resource.SystemException;
throw ex;
}
result.IsSuccess = true;
return result;
}
#endregion
#region 获取功能模块下拉框
///
/// 获取列表
///
/// 条件
/// 数据页
/// 数据页
public List GetModelNameCombox()
{
try
{
return new FuntionDescriptionDAL().GetModelNameCombox();
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 获取菜单项下拉框
///
/// 获取列表
///
/// 条件
/// 数据页
/// 数据页
public List GetMenuNameCombox(string ModelName)
{
try
{
return new FuntionDescriptionDAL().GetMenuNameCombox(ModelName);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
}
}