using Learun.Util;
using System;
using System.Data;
using System.Collections.Generic;
namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
///
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-07-11 14:34
/// 描 述:宿舍调换申请
///
public class YKTStateMentBLL : YKTStateMentIBLL
{
private YKTStateMentService yKTStateMentService = new YKTStateMentService();
#region 获取数据
///
/// 获取页面显示列表数据
///
/// 分页参数
/// 查询参数
///
public IEnumerable GetPageList(Pagination pagination, string queryJson)
{
try
{
return yKTStateMentService.GetPageList(pagination, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}
public IEnumerable GetTeacherPageList(Pagination pagination, string queryJson)
{
try
{
return yKTStateMentService.GetTeacherPageList(pagination, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}
public IEnumerable GetAnalysisByMonthForStudentPageList(Pagination paginationobj, string queryJson)
{
try
{
return yKTStateMentService.GetAnalysisByMonthForStudentPageList(paginationobj, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}
public IEnumerable GetDoorPageList(Pagination paginationobj, string queryJson)
{
try
{
return yKTStateMentService.GetDoorPageList(paginationobj, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}
#endregion
}
}