|
- using Learun.Util;
- using System;
- using System.Data;
- using System.Collections.Generic;
-
- namespace Learun.Application.TwoDevelopment.EducationalAdministration
- {
- /// <summary>
- /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
- /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
- /// 创 建:超级管理员
- /// 日 期:2022-07-11 14:34
- /// 描 述:宿舍调换申请
- /// </summary>
- public class YKTStateMentBLL : YKTStateMentIBLL
- {
- private YKTStateMentService yKTStateMentService = new YKTStateMentService();
-
- #region 获取数据
-
- /// <summary>
- /// 获取页面显示列表数据
- /// </summary>
- /// <param name="pagination">分页参数</param>
- /// <param name="queryJson">查询参数</param>
- /// <returns></returns>
- public IEnumerable<YKTStateMentEntity> 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<YKTStateMentEntity> 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<YKTStateMentEntity> 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<DoorEntity> 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
-
-
- }
- }
|