You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

108 lines
3.0 KiB

  1. using Learun.Util;
  2. using System;
  3. using System.Data;
  4. using System.Collections.Generic;
  5. namespace Learun.Application.TwoDevelopment.EducationalAdministration
  6. {
  7. /// <summary>
  8. /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
  9. /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
  10. /// 创 建:超级管理员
  11. /// 日 期:2022-07-11 14:34
  12. /// 描 述:宿舍调换申请
  13. /// </summary>
  14. public class YKTStateMentBLL : YKTStateMentIBLL
  15. {
  16. private YKTStateMentService yKTStateMentService = new YKTStateMentService();
  17. #region 获取数据
  18. /// <summary>
  19. /// 获取页面显示列表数据
  20. /// </summary>
  21. /// <param name="pagination">分页参数</param>
  22. /// <param name="queryJson">查询参数</param>
  23. /// <returns></returns>
  24. public IEnumerable<YKTStateMentEntity> GetPageList(Pagination pagination, string queryJson)
  25. {
  26. try
  27. {
  28. return yKTStateMentService.GetPageList(pagination, queryJson);
  29. }
  30. catch (Exception ex)
  31. {
  32. if (ex is ExceptionEx)
  33. {
  34. throw;
  35. }
  36. else
  37. {
  38. throw ExceptionEx.ThrowBusinessException(ex);
  39. }
  40. }
  41. }
  42. public IEnumerable<YKTStateMentEntity> GetTeacherPageList(Pagination pagination, string queryJson)
  43. {
  44. try
  45. {
  46. return yKTStateMentService.GetTeacherPageList(pagination, queryJson);
  47. }
  48. catch (Exception ex)
  49. {
  50. if (ex is ExceptionEx)
  51. {
  52. throw;
  53. }
  54. else
  55. {
  56. throw ExceptionEx.ThrowBusinessException(ex);
  57. }
  58. }
  59. }
  60. public IEnumerable<YKTStateMentEntity> GetAnalysisByMonthForStudentPageList(Pagination paginationobj, string queryJson)
  61. {
  62. try
  63. {
  64. return yKTStateMentService.GetAnalysisByMonthForStudentPageList(paginationobj, queryJson);
  65. }
  66. catch (Exception ex)
  67. {
  68. if (ex is ExceptionEx)
  69. {
  70. throw;
  71. }
  72. else
  73. {
  74. throw ExceptionEx.ThrowBusinessException(ex);
  75. }
  76. }
  77. }
  78. public IEnumerable<DoorEntity> GetDoorPageList(Pagination paginationobj, string queryJson)
  79. {
  80. try
  81. {
  82. return yKTStateMentService.GetDoorPageList(paginationobj, queryJson);
  83. }
  84. catch (Exception ex)
  85. {
  86. if (ex is ExceptionEx)
  87. {
  88. throw;
  89. }
  90. else
  91. {
  92. throw ExceptionEx.ThrowBusinessException(ex);
  93. }
  94. }
  95. }
  96. #endregion
  97. }
  98. }