IEducationMissionClassServices.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.EducationManagement;
  6. using Bowin.Common.Linq.Entity;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. using EMIS.ViewModel.EducationManage;
  10. using EMIS.ViewModel.UniversityManage.TeacherManage;
  11. using EMIS.ViewModel.UniversityManage.ClassroomManage;
  12. using EMIS.ViewModel.UniversityManage.SpecialtyClassManage;
  13. namespace EMIS.CommonLogic.EducationManagement
  14. {
  15. public partial interface IEducationMissionClassServices
  16. {
  17. /// <summary>
  18. /// 删除学生
  19. /// </summary>
  20. /// <param name="educationMissionClassID"></param>
  21. /// <param name="userIDs"></param>
  22. void DeleteStudentbyEducationMissionClassID(Guid? educationMissionClassID, List<Guid> userIDs);
  23. /// <summary>
  24. /// 给任务班添加学生
  25. /// </summary>
  26. /// <param name="educationMissionClassID"></param>
  27. /// <param name="userIDs"></param>
  28. void AddStudentbyEducationMissionClassID(Guid? educationMissionClassID, List<Guid> userIDs);
  29. /// <summary>
  30. /// 查询教师列表
  31. /// </summary>
  32. /// <param name="configuretView">查询条件实体</param>
  33. /// <param name="campusID">校区ID</param>
  34. /// <param name="collegeID">学院ID</param>
  35. /// <param name="DepartmentID">教研室ID</param>
  36. /// <param name="isPhoto">是否显示照片</param>
  37. /// <param name="pageIndex">页码</param>
  38. /// <param name="pageSize">显示码</param>
  39. /// <returns></returns>
  40. IGridResultSet<StaffView> GetStaffViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, int? isPhoto, Guid? userID, int pageIndex, int pageSize);
  41. /// <summary>
  42. /// 查询教学任务班
  43. /// </summary>
  44. /// <param name="configuretView">查询条件</param>
  45. /// <param name="schoolyearID">学年学期ID</param>
  46. /// <param name="courseCode">课程代码</param>
  47. /// <param name="courseName">课程名称</param>
  48. /// <param name="name">排课班级</param>
  49. /// <param name="pageIndex">页数</param>
  50. /// <param name="pageSize">显示数</param>
  51. /// <returns></returns>
  52. IGridResultSet<EducationMissionClassView> GetEducationMissionClassViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? schoolyearID, Guid? departmentID, Guid? coursematerialID,
  53. int? approvalStatus, int? teachingModeID, Guid? classmajorID, int? gradeYearID, int pageIndex, int pageSize);
  54. /// <summary>
  55. /// 查询教学任务班
  56. /// </summary>
  57. /// <param name="configuretView">查询条件</param>
  58. /// <param name="schoolyearID">学年学期ID</param>
  59. /// <param name="courseCode">课程代码</param>
  60. /// <param name="courseName">课程名称</param>
  61. /// <param name="name">排课班级</param>
  62. /// <returns></returns>
  63. List<EducationMissionClassView> GetEducationMissionClassViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? schoolyearID, Guid? departmentID, Guid? coursematerialID,
  64. int? approvalStatus, int? teachingModeID, Guid? classmajorID, int? gradeYearID);
  65. /// <summary>
  66. /// 查询教学任务班
  67. /// </summary>
  68. /// <param name="configuretView">查询条件</param>
  69. /// <param name="schoolyearID">学年学期ID</param>
  70. /// <param name="courseCode">课程代码</param>
  71. /// <param name="courseName">课程名称</param>
  72. /// <param name="name">排课班级</param>
  73. /// <returns></returns>
  74. List<EducationMissionClassView> GetEducationMissionClassViewList(IList<Guid> educationMissionClassIDList);
  75. /// <summary>
  76. /// 根据教学任务班获取班级信息
  77. /// </summary>
  78. /// <param name="educationMissionClassID"></param>
  79. /// <returns></returns>
  80. ClassmajorView GetClassmajorByEducationClassID(Guid? educationMissionClassID);
  81. /// <summary>
  82. /// 获取任务班信息
  83. /// </summary>
  84. /// <param name="educationMissionClassID"></param>
  85. /// <returns></returns>
  86. EducationMissionClassView GetEducationMissionClassView(Guid? educationMissionClassID);
  87. /// <summary>
  88. /// 获取任务班信息
  89. /// </summary>
  90. /// <param name="educationMissionClassID"></param>
  91. /// <returns></returns>
  92. EM_EducationMissionClass GetEducationMissionClass(Guid? educationMissionClassID);
  93. /// <summary>
  94. /// 获取学籍班的所有任务班
  95. /// </summary>
  96. /// <param name="educationMissionID">学籍班ID</param>
  97. /// <returns></returns>
  98. List<EM_EducationMissionClass> GetEducationMissionClassList(Guid? educationMissionID);
  99. /// <summary>
  100. /// 获取学籍班的所有任务班
  101. /// </summary>
  102. /// <returns></returns>
  103. List<EM_EducationMissionClass> GetEducationMissionClassList();
  104. /// <summary>
  105. /// 保存更新排课序号
  106. /// </summary>
  107. /// <param name="educationMissionClasss"></param>
  108. /// <param name="orderNos"></param>
  109. void UpdateEducationMissionClassOrderNo(List<Guid?> educationMissionClassIDs, List<int?> orderNos);
  110. /// <summary>
  111. /// 更新教学任务班信息
  112. /// </summary>
  113. /// <param name="educationMissionClassView"></param>
  114. void UpdateEducationMissionClass(EducationMissionClassView educationMissionClassView);
  115. /// <summary>
  116. /// 获取设置周数
  117. /// </summary>
  118. /// <param name="educationMissionClassID"></param>
  119. /// <returns></returns>
  120. List<string> GetEducationMissionClassSettings(Guid? educationMissionClassID);
  121. /// <summary>
  122. /// 获取教学任务授课老师
  123. /// </summary>
  124. /// <param name="educationMissionClassID"></param>
  125. /// <returns></returns>
  126. List<EducationMissionClassTeacherListView> GetEducationMissionClassTeacherListViewList(Guid? educationMissionClassID);
  127. /// <summary>
  128. /// 更新
  129. /// </summary>
  130. /// <param name="educationMissionClassView">实体</param>
  131. /// <param name="listTeachingModeID">选中周次</param>
  132. /// <param name="teacherList">教师</param>
  133. void EducationMissionClassUpdate(EducationMissionClassView educationMissionClassView, List<int?> weekNumList, List<EducationMissionClassTeacherListView> teacherList);
  134. /// <summary>
  135. /// 设置排课老师信息
  136. /// </summary>
  137. /// <param name="educationMissionClassView">实体</param>
  138. /// <param name="listTeachingModeID">选中周次</param>
  139. /// <param name="teacherList">教师</param>
  140. void EducationMissionClassUpdateTeacher(EducationMissionClassView educationMissionClassView, List<EducationMissionClassTeacherListView> teacherList);
  141. /// <summary>
  142. /// 合班
  143. /// </summary>
  144. /// <param name="educationMissionClassIDs">任务班ID</param>
  145. void EducationMissionConjunctionClassAdd(List<Guid?> educationMissionClassIDs);
  146. /// <summary>
  147. /// 排课分班
  148. /// </summary>
  149. /// <param name="educationMissionClassIDs"></param>
  150. void DivideIntoClassesAdd(DivideIntoClassesView divideIntoClassesView);
  151. /// <summary>
  152. /// 分班信息
  153. /// </summary>
  154. /// <param name="educationMissionClassID"></param>
  155. /// <returns></returns>
  156. DivideIntoClassesView GetDivideIntoClassesView(Guid? educationMissionClassID);
  157. /// <summary>
  158. /// 排课班表
  159. /// </summary>
  160. /// <param name="educationMissionClassID"></param>
  161. /// <returns></returns>
  162. EM_EducationSchedulingClass GetEducationSchedulingClass(Guid? educationSchedulingClassID);
  163. /// <summary>
  164. /// 获取排课班信息
  165. /// </summary>
  166. /// <returns></returns>
  167. IGridResultSet<EducationSchedulingClassView> GetEducationSchedulingClassViewGrid(Guid? educationMissionClassID, int pageIndex, int pageSize);
  168. /// <summary>
  169. /// 获取排课班学生信息
  170. /// </summary>
  171. /// <param name="educationSchedulingClassID">排课班ID</param>
  172. /// <returns></returns>
  173. IGridResultSet<EducationMissionClassStudentView> GetEducationMissionClassStudentViewGrid(Guid? educationSchedulingClassID, int pageIndex, int pageSize);
  174. /// <summary>
  175. /// 获取任务班对应的所以排课班学生信息
  176. /// </summary>
  177. /// <param name="educationMissionClassID"></param>
  178. /// <param name="pageIndex"></param>
  179. /// <param name="pageSize"></param>
  180. /// <returns></returns>
  181. IGridResultSet<EducationMissionClassStudentView> GetEducationMissionClassSchedulingStudentViewGrid(Guid? educationMissionClassID, int pageIndex, int pageSize);
  182. /// <summary>
  183. /// 获取任务班对应的所以排课班学生信息
  184. /// </summary>
  185. /// <param name="educationMissionClassID"></param>
  186. /// <param name="pageIndex"></param>
  187. /// <param name="pageSize"></param>
  188. /// <returns></returns>
  189. List<EducationMissionClassStudentView> GetEducationMissionClassSchedulingStudentViewList(Guid? educationMissionClassID);
  190. /// <summary>
  191. /// 合班
  192. /// </summary>
  193. /// <param name="educationMissionView"></param>
  194. /// <param name="educationMissionIDs"></param>
  195. void EducationMissionClassConjunctionAdd(EducationMissionClassView educationMissionView, List<Guid?> educationMissionIDs);
  196. /// <summary>
  197. /// 获取主表对象
  198. /// </summary>
  199. /// <param name="educationMissionID"></param>
  200. /// <returns></returns>
  201. EM_EducationMission GetEducationMission(Guid? educationMissionID);
  202. /// <summary>
  203. /// 更新教学任务班表 处理状态
  204. /// </summary>
  205. /// <param name="educationMissionClassIDs"></param>
  206. void EducationMissionClassUpdate(List<Guid?> educationMissionClassIDs);
  207. /// <summary>
  208. /// 撤销提交
  209. /// </summary>
  210. /// <param name="educationMissionClassIDs"></param>
  211. void UnSubmit(List<Guid?> educationMissionClassIDs);
  212. /// <summary>
  213. /// 删除教学任务班
  214. /// </summary>
  215. /// <param name="educationMissionClassIDs"></param>
  216. void Delete(List<Guid?> educationMissionClassIDs);
  217. List<CourseProcessView> GetCourseProcessView(Guid educationMissionID);
  218. List<CourseProcessTeacherView> GetCourseProcessTeacherView(Guid courseProcessID);
  219. void SaveCourseProcessView(EducationMissionClassView educationMissionClassView, IList<CourseProcessView> courseProcessViewList);
  220. int GetStudentCount(Guid educationMissionClassID);
  221. IGridResultSet<ClassroomView> GetAvailableClassroom(ConfiguretView configuretView,Guid collegeID, Guid? buildingID,
  222. int? classroomType, int? minSeatCount, int? pageIndex, int? pageSize);
  223. //任务班查询
  224. IGridResultSet<EducationMissionClassView> GetEducationMissionClassViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? schoolyearID, int? standardID, Guid? coursematerialID,
  225. int? approvalStatus, int? teachingModeID, Guid? classmajorID, int? gradeYearID, Guid? CoursesTimeID, int pageIndex, int pageSize);
  226. //任务班查询
  227. List<EducationMissionClassView> GetEducationMissionClassViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? schoolyearID, int? standardID, Guid? coursematerialID,
  228. int? approvalStatus, int? teachingModeID, Guid? classmajorID, int? gradeYearID, int? learningformID, int? education, string LearnSystem, List<Guid?> EducationMissionClassIDList);
  229. void EducationMissionClassUpdateClassRoom(EducationMissionClassView educationMissionClassView);
  230. List<string> GetEducationMissionClassStatus();
  231. [Obsolete]
  232. bool Verification(List<Guid?> collegeIDList, List<Guid?> schoolyearIDList);
  233. bool CheckEducationMissionClassOpenControl(IList<Guid> educationMissionClassIDList);
  234. [Obsolete]
  235. IGridResultSet<EducationMissionClassView> GetLastCourseEducationMissionClassViewGrid(ConfiguretView configuretView, Guid userID, int? pageIndex, int? pageSize);
  236. }
  237. }