IClassroomReserveServices.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Bowin.Common.Linq.Entity;
  6. using EMIS.Entities;
  7. using EMIS.ViewModel;
  8. using EMIS.ViewModel.SchedulingManage.SchedulingSettings;
  9. using EMIS.ViewModel.UniversityManage.ClassroomManage;
  10. namespace EMIS.CommonLogic.SchedulingManage.SchedulingSettings
  11. {
  12. public interface IClassroomReserveServices
  13. {
  14. /// <summary>
  15. /// 查询对应的教室预留信息ClassroomReserveView
  16. /// </summary>
  17. /// <param name="configuretView"></param>
  18. /// <param name="campusID"></param>
  19. /// <param name="buildingsInfoID"></param>
  20. /// <param name="classroomName"></param>
  21. /// <param name="classroomTypeID"></param>
  22. /// <param name="isConcurrentUse"></param>
  23. /// <param name="isAvailable"></param>
  24. /// <param name="pageIndex"></param>
  25. /// <param name="pageSize"></param>
  26. /// <returns></returns>
  27. IGridResultSet<ClassroomReserveView> GetClassroomReserveViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? buildingsInfoID,
  28. string classroomName, int? classroomTypeID, int? isConcurrentUse, int? isAvailable, int pageIndex, int pageSize);
  29. /// <summary>
  30. /// 查询对应的教室预留信息List
  31. /// </summary>
  32. /// <param name="configuretView"></param>
  33. /// <param name="campusID"></param>
  34. /// <param name="buildingsInfoID"></param>
  35. /// <param name="classroomName"></param>
  36. /// <param name="classroomTypeID"></param>
  37. /// <param name="isConcurrentUse"></param>
  38. /// <param name="isAvailable"></param>
  39. /// <returns></returns>
  40. IList<ClassroomReserveView> GetClassroomReserveViewList(ConfiguretView configuretView, Guid? campusID, Guid? buildingsInfoID,
  41. string classroomName, int? classroomTypeID, int? isConcurrentUse, int? isAvailable);
  42. /// <summary>
  43. /// 查询对应的教室预留信息ES_ClassroomReserve(根据教室预留ID)
  44. /// </summary>
  45. /// <param name="classroomReserveID"></param>
  46. /// <returns></returns>
  47. ES_ClassroomReserve GetClassroomReserve(Guid? classroomReserveID);
  48. /// <summary>
  49. /// 查询对应的教室预留信息ClassroomReserveView(根据教室预留ID)
  50. /// </summary>
  51. /// <param name="classroomReserveID"></param>
  52. /// <returns></returns>
  53. ClassroomReserveView GetClassroomReserveView(Guid? classroomReserveID);
  54. /// <summary>
  55. /// 编辑(新增、修改)
  56. /// </summary>
  57. /// <param name="classroomReserveView"></param>
  58. void ClassroomReserveEdit(ClassroomReserveView classroomReserveView);
  59. /// <summary>
  60. /// 教室预留信息批量新增(预留)
  61. /// </summary>
  62. /// <param name="classroomIDList"></param>
  63. /// <param name="classroomReserveView"></param>
  64. /// <returns></returns>
  65. string ClassroomReserveBatchAdd(List<Guid?> classroomIDList, ClassroomReserveView classroomReserveView);
  66. /// <summary>
  67. /// 查询未预留的教室信息ClassroomView
  68. /// </summary>
  69. /// <param name="configuretView"></param>
  70. /// <param name="campusID"></param>
  71. /// <param name="buildingsInfoID"></param>
  72. /// <param name="classroomName"></param>
  73. /// <param name="classroomTypeID"></param>
  74. /// <param name="isConcurrentUse"></param>
  75. /// <param name="isAvailable"></param>
  76. /// <param name="pageIndex"></param>
  77. /// <param name="pageSize"></param>
  78. /// <returns></returns>
  79. IGridResultSet<ClassroomView> GetClassroomViewNoReserveGrid(ConfiguretView configuretView, Guid? campusID, Guid? buildingsInfoID,
  80. string classroomName, int? classroomTypeID, int? isConcurrentUse, int? isAvailable, int pageIndex, int pageSize);
  81. /// <summary>
  82. /// 查询未预留的教室信息List
  83. /// </summary>
  84. /// <param name="configuretView"></param>
  85. /// <param name="campusID"></param>
  86. /// <param name="buildingsInfoID"></param>
  87. /// <param name="classroomName"></param>
  88. /// <param name="classroomTypeID"></param>
  89. /// <param name="isConcurrentUse"></param>
  90. /// <param name="isAvailable"></param>
  91. /// <returns></returns>
  92. IList<ClassroomView> GetClassroomViewNoReserveList(ConfiguretView configuretView, Guid? campusID, Guid? buildingsInfoID,
  93. string classroomName, int? classroomTypeID, int? isConcurrentUse, int? isAvailable);
  94. /// <summary>
  95. /// 删除(解除)
  96. /// </summary>
  97. /// <param name="classroomReserveIDs"></param>
  98. /// <returns></returns>
  99. bool ClassroomReserveDelete(List<Guid?> classroomReserveIDs);
  100. }
  101. }