IClassroomServices.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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.UniversityManage.ClassroomManage;
  9. namespace EMIS.CommonLogic.UniversityManage.ClassroomManage
  10. {
  11. public interface IClassroomServices
  12. {
  13. /// <summary>
  14. /// 查询对应的教室信息View
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="campusID"></param>
  18. /// <param name="buildingsInfoID"></param>
  19. /// <param name="classroomName"></param>
  20. /// <param name="classroomTypeID"></param>
  21. /// <param name="collegeID"></param>
  22. /// <param name="isConcurrentUse"></param>
  23. /// <param name="isReserve"></param>
  24. /// <param name="isAvailable"></param>
  25. /// <param name="pageIndex"></param>
  26. /// <param name="pageSize"></param>
  27. /// <returns></returns>
  28. IGridResultSet<ClassroomView> GetClassroomViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? buildingsInfoID, string classroomName, int? classroomTypeID,
  29. Guid? collegeID, int? isConcurrentUse, int? isReserve, int? isAvailable, int pageIndex, int pageSize);
  30. /// <summary>
  31. /// 查询对应的教室信息List
  32. /// </summary>
  33. /// <param name="configuretView"></param>
  34. /// <param name="campusID"></param>
  35. /// <param name="buildingsInfoID"></param>
  36. /// <param name="classroomName"></param>
  37. /// <param name="classroomTypeID"></param>
  38. /// <param name="collegeID"></param>
  39. /// <param name="isConcurrentUse"></param>
  40. /// <param name="isReserve"></param>
  41. /// <param name="isAvailable"></param>
  42. /// <returns></returns>
  43. IList<ClassroomView> GetClassroomViewList(ConfiguretView configuretView, Guid? campusID, Guid? buildingsInfoID, string classroomName, int? classroomTypeID,
  44. Guid? collegeID, int? isConcurrentUse, int? isReserve, int? isAvailable);
  45. /// <summary>
  46. /// 查询对应的教室信息CF_Classroom
  47. /// </summary>
  48. /// <param name="classroomID"></param>
  49. /// <returns></returns>
  50. CF_Classroom GetClassroomInfo(Guid? classroomID);
  51. /// <summary>
  52. /// 查询对应的教室信息ClassroomView
  53. /// </summary>
  54. /// <param name="classroomID"></param>
  55. /// <returns></returns>
  56. ClassroomView GetClassroomView(Guid? classroomID);
  57. /// <summary>
  58. /// 编辑(新增、修改,业务主键:教室编号唯一)
  59. /// </summary>
  60. /// <param name="classroomView"></param>
  61. void ClassroomEdit(ClassroomView classroomView);
  62. /// <summary>
  63. /// 增加对应的教室类型(根据教室信息ID、教室类型List)
  64. /// </summary>
  65. /// <param name="classroomID"></param>
  66. /// <param name="list"></param>
  67. /// <returns></returns>
  68. bool ClassroomModeTypeAdd(Guid? classroomID, List<int> list);
  69. /// <summary>
  70. /// 删除
  71. /// </summary>
  72. /// <param name="classroomIDList"></param>
  73. /// <returns></returns>
  74. bool ClassroomDelete(List<Guid?> classroomIDList);
  75. /// <summary>
  76. /// 根据教室信息ID查询对应的教室类型List
  77. /// </summary>
  78. /// <param name="classroomID"></param>
  79. /// <returns></returns>
  80. List<int> GetClassroomTypeList(Guid? classroomID);
  81. /// <summary>
  82. /// 查询教室信息对应的排课分配院系所信息ClassroomView(无数据范围)
  83. /// </summary>
  84. /// <param name="configuretView"></param>
  85. /// <param name="classroomID"></param>
  86. /// <param name="campusID"></param>
  87. /// <param name="collegeID"></param>
  88. /// <param name="unitCategoryID"></param>
  89. /// <param name="pageIndex"></param>
  90. /// <param name="pageSize"></param>
  91. /// <returns></returns>
  92. IGridResultSet<ClassroomView> GetClassroomCollegeViewGrid(ConfiguretView configuretView, Guid? classroomID, Guid? campusID, Guid? collegeID, int? unitCategoryID, int pageIndex, int pageSize);
  93. /// <summary>
  94. /// 查询教室信息对应的排课分配院系所信息List(无数据范围)
  95. /// </summary>
  96. /// <param name="configuretView"></param>
  97. /// <param name="classroomID"></param>
  98. /// <param name="campusID"></param>
  99. /// <param name="collegeID"></param>
  100. /// <param name="unitCategoryID"></param>
  101. /// <returns></returns>
  102. IList<ClassroomView> GetClassroomCollegeViewList(ConfiguretView configuretView, Guid? classroomID, Guid? campusID, Guid? collegeID, int? unitCategoryID);
  103. /// <summary>
  104. /// Excel教室信息导入
  105. /// </summary>
  106. /// <param name="cellheader"></param>
  107. /// <param name="inCount"></param>
  108. /// <param name="upCount"></param>
  109. /// <param name="errdataList"></param>
  110. /// <param name="errCount"></param>
  111. /// <param name="sourcePhysicalPath"></param>
  112. void ClassroomImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<ClassroomView> errdataList, out int? errCount, string sourcePhysicalPath);
  113. }
  114. }