IRetakePlanTaskServices.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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.ViewModel.RetakeManage;
  7. using EMIS.ViewModel;
  8. using EMIS.ViewModel.EducationManage;
  9. using EMIS.ViewModel.UniversityManage.ClassroomManage;
  10. using EMIS.Entities;
  11. namespace EMIS.CommonLogic.RetakeManage.General
  12. {
  13. public interface IRetakePlanTaskServices
  14. {
  15. /// <summary>
  16. /// 查询学生预查信息列表
  17. /// </summary>
  18. /// <param name="configuretView"></param>
  19. /// <param name="schoolyearID"></param>
  20. /// <param name="collegeID"></param>
  21. /// <param name="departmentID"></param>
  22. /// <param name="yearID"></param>
  23. /// <param name="standardID"></param>
  24. /// <param name="educationID"></param>
  25. /// <param name="learningformID"></param>
  26. /// <param name="learnSystem"></param>
  27. /// <param name="classmajorID"></param>
  28. /// <param name="inSchoolStatus"></param>
  29. /// <param name="examsCategoryID"></param>
  30. /// <param name="coursematerialID"></param>
  31. /// <param name="courseTypeIDs"></param>
  32. /// <param name="pageIndex"></param>
  33. /// <param name="pageSize"></param>
  34. /// <returns></returns>
  35. IGridResultSet<RetakeStudentListView> GetRetakePreStudentView(ConfiguretView configuretView, Guid? schoolyearID, Guid? collegeID,
  36. Guid? departmentID, int? yearID, int? standardID, int? educationID, int? learningformID, string learnSystem, Guid? classmajorID,
  37. int? inSchoolStatus, int? examsCategoryID, Guid? coursematerialID, string courseTypeIDs, int pageIndex, int pageSize);
  38. /// <summary>
  39. /// 查询学生预查信息List
  40. /// </summary>
  41. /// <param name="configuretView"></param>
  42. /// <param name="schoolyearID"></param>
  43. /// <param name="collegeID"></param>
  44. /// <param name="departmentID"></param>
  45. /// <param name="yearID"></param>
  46. /// <param name="standardID"></param>
  47. /// <param name="educationID"></param>
  48. /// <param name="learningformID"></param>
  49. /// <param name="learnSystem"></param>
  50. /// <param name="classmajorID"></param>
  51. /// <param name="inSchoolStatus"></param>
  52. /// <param name="examsCategoryID"></param>
  53. /// <param name="coursematerialID"></param>
  54. /// <param name="courseTypeIDs"></param>
  55. /// <returns></returns>
  56. List<RetakeStudentListView> GetRetakePreStudentViewList(ConfiguretView configuretView, Guid? schoolyearID, Guid? collegeID,
  57. Guid? departmentID, int? yearID, int? standardID, int? educationID, int? learningformID, string learnSystem, Guid? classmajorID,
  58. int? inSchoolStatus, int? examsCategoryID, Guid? coursematerialID, string courseTypeIDs);
  59. /// <summary>
  60. /// 学生预查重修任务生成
  61. /// </summary>
  62. /// <param name="finallyScoreIDList"></param>
  63. /// <param name="retakeTypeID"></param>
  64. /// <returns></returns>
  65. string Generate(List<Guid?> finallyScoreIDList, int? retakeTypeID);
  66. /// <summary>
  67. /// 查询重修任务信息View
  68. /// </summary>
  69. /// <param name="configuretView"></param>
  70. /// <param name="schoolyearID"></param>
  71. /// <param name="collegeID"></param>
  72. /// <param name="departmentID"></param>
  73. /// <param name="coursematerialID"></param>
  74. /// <param name="retakeTypeID"></param>
  75. /// <param name="statusID"></param>
  76. /// <param name="pageIndex"></param>
  77. /// <param name="pageSize"></param>
  78. /// <returns></returns>
  79. IGridResultSet<RetakePlanTaskView> GetRetakePlanTaskView(ConfiguretView configuretView, Guid? schoolyearID, Guid? collegeID,
  80. Guid? departmentID, Guid? coursematerialID, int? retakeTypeID, int? statusID, int pageIndex, int pageSize);
  81. /// <summary>
  82. /// 查询重修任务信息List
  83. /// </summary>
  84. /// <param name="configuretView"></param>
  85. /// <param name="schoolyearID"></param>
  86. /// <param name="collegeID"></param>
  87. /// <param name="departmentID"></param>
  88. /// <param name="coursematerialID"></param>
  89. /// <param name="retakeTypeID"></param>
  90. /// <param name="statusID"></param>
  91. /// <returns></returns>
  92. List<RetakePlanTaskView> GetRetakePlanTaskViewList(ConfiguretView configuretView, Guid? schoolyearID, Guid? collegeID,
  93. Guid? departmentID, Guid? coursematerialID, int? retakeTypeID, int? statusID);
  94. /// <summary>
  95. /// 查询重修计划相关信息View(含相关设置信息、排课教室等)
  96. /// 注:排课明细中目前只支持同一教室的情况
  97. /// </summary>
  98. /// <param name="RetakePlanID"></param>
  99. /// <returns></returns>
  100. RetakePlanTaskSettingView GetRetakePlanTaskUpdateView(Guid? RetakePlanID);
  101. /// <summary>
  102. /// 查询重修计划课程表信息List
  103. /// </summary>
  104. /// <param name="RetakePlanID"></param>
  105. /// <returns></returns>
  106. List<RetakePlanSettingSchedulingView> GetSchedulingView(Guid? RetakePlanID);
  107. /// <summary>
  108. /// 查询重修计划任课老师信息List
  109. /// </summary>
  110. /// <param name="RetakePlanID"></param>
  111. /// <returns></returns>
  112. List<RetakePlanTeacherListView> GetTeacherListView(Guid? RetakePlanID);
  113. /// <summary>
  114. /// 查询重修计划授课方式信息List
  115. /// </summary>
  116. /// <param name="RetakePlanID"></param>
  117. /// <returns></returns>
  118. List<int> GetTeachingModeType(Guid? RetakePlanID);
  119. /// <summary>
  120. /// 查询重修计划授课地点信息List
  121. /// </summary>
  122. /// <param name="RetakePlanID"></param>
  123. /// <returns></returns>
  124. List<int> GetTeachingPlace(Guid? RetakePlanID);
  125. /// <summary>
  126. /// 查询对应的重修计划相关表信息
  127. /// </summary>
  128. /// <param name="RetakePlanID"></param>
  129. /// <returns></returns>
  130. ER_RetakePlan GetRetakePlan(Guid? RetakePlanID);
  131. /// <summary>
  132. /// 重修计划修改(排课冲突判断)
  133. /// </summary>
  134. /// <param name="RetakePlanTaskSettingView"></param>
  135. /// <param name="teacherList"></param>
  136. /// <param name="schedulingList"></param>
  137. /// <param name="type"></param>
  138. /// <returns></returns>
  139. bool RetakePlanTaskSet(RetakePlanTaskSettingView RetakePlanTaskSettingView, IList<RetakePlanTeacherListView> teacherList,
  140. IList<RetakePlanSettingSchedulingView> schedulingList, out int? type);
  141. /// <summary>
  142. /// 排课冲突检查,列出课程进度中的可选教室
  143. /// </summary>
  144. /// <param name="configuretView"></param>
  145. /// <param name="buildingID"></param>
  146. /// <param name="schedulingWeek"></param>
  147. /// <param name="weekday"></param>
  148. /// <param name="courseTimeID"></param>
  149. /// <param name="classroomTypeID"></param>
  150. /// <param name="SchoolYearID"></param>
  151. /// <param name="pageIndex"></param>
  152. /// <param name="pageSize"></param>
  153. /// <returns></returns>
  154. IGridResultSet<ClassroomView> GetAvailableClassroom(ConfiguretView configuretView, Guid? buildingID, string schedulingWeek,
  155. int? weekday, Guid courseTimeID, int? classroomTypeID, Guid SchoolYearID, int? pageIndex, int? pageSize);
  156. /// <summary>
  157. /// 删除(需要检测是否存在对应的已报名重修计划名单,根据重修计划ID)
  158. /// </summary>
  159. /// <param name="retakePlanIDsList"></param>
  160. void DeleteRetakePlanTask(IList<Guid?> retakePlanIDsList);
  161. /// <summary>
  162. /// 检测是否存在对应的已报名重修计划名单(根据重修计划ID)
  163. /// </summary>
  164. /// <param name="retakePlanIDs"></param>
  165. /// <returns></returns>
  166. bool IsExistsApplyStudentByRetakePlanID(string retakePlanIDs);
  167. /// <summary>
  168. /// 重修计划取消开放(删除对应的重修计划报名名单)
  169. /// </summary>
  170. /// <param name="RetakePlanIDsList"></param>
  171. void CancleRetakePlanTask(IList<Guid?> RetakePlanIDsList);
  172. /// <summary>
  173. /// 重修计划开放
  174. /// </summary>
  175. /// <param name="RetakePlanIDsList"></param>
  176. void OpenRetakePlanTask(IList<Guid?> RetakePlanIDsList);
  177. /// <summary>
  178. /// 查询对应的重修计划分班信息View
  179. /// </summary>
  180. /// <param name="retakePlanID"></param>
  181. /// <returns></returns>
  182. RetakeDivideIntoClassesView GetDivideIntoClassesView(Guid? retakePlanID);
  183. /// <summary>
  184. /// 重修任务分班(此分班形式不需分开人数,只做为分多少个任务班的计算参数)
  185. /// 注:分多少个任务班,那么各个任务班的人数保持一致
  186. /// </summary>
  187. /// <param name="divideIntoClassesView"></param>
  188. void DivideIntoClassesSeparate(RetakeDivideIntoClassesView divideIntoClassesView);
  189. /// <summary>
  190. /// 查询对应的重修计划名单信息View
  191. /// </summary>
  192. /// <param name="RetakePlanID"></param>
  193. /// <param name="pageIndex"></param>
  194. /// <param name="pageSize"></param>
  195. /// <returns></returns>
  196. IGridResultSet<RetakeStudentListView> GetRetakePlanTaskStudentView(Guid? RetakePlanID, int pageIndex, int pageSize);
  197. /// <summary>
  198. /// 查询对应的重修计划名单信息List
  199. /// </summary>
  200. /// <param name="configuretView"></param>
  201. /// <param name="RetakePlanID"></param>
  202. /// <returns></returns>
  203. List<RetakeStudentListView> GetRetakePlanTaskStudentViewList(ConfiguretView configuretView, Guid? RetakePlanID);
  204. /// <summary>
  205. /// 查询对应的重修计划名单列表(不及格成绩,小于60分)
  206. /// 不需排除已在其它相应的重修计划中存在的名单
  207. /// </summary>
  208. /// <param name="configuretView"></param>
  209. /// <param name="RetakePlanID"></param>
  210. /// <param name="gradeYearID"></param>
  211. /// <param name="standardID"></param>
  212. /// <param name="classmajorID"></param>
  213. /// <param name="inSchoolStatus"></param>
  214. /// <param name="pageIndex"></param>
  215. /// <param name="pageSize"></param>
  216. /// <returns></returns>
  217. IGridResultSet<RetakeStudentListView> GetStudentView(ConfiguretView configuretView, Guid? RetakePlanID,
  218. int? gradeYearID, int? standardID, Guid? classmajorID, int? inSchoolStatus, int pageIndex, int pageSize);
  219. /// <summary>
  220. /// 重修任务页面添加名单确定
  221. /// </summary>
  222. /// <param name="retakePlanID"></param>
  223. /// <param name="finallyScoreIDList"></param>
  224. void AddStudent(Guid? retakePlanID, List<Guid?> finallyScoreIDList);
  225. /// <summary>
  226. /// 删除(重修计划名单删除,根据重修计划名单ID)
  227. /// </summary>
  228. /// <param name="retakePlanStudentIDsList"></param>
  229. void DeleteStudent(IList<Guid?> retakePlanStudentIDsList);
  230. /// <summary>
  231. /// 检测是否存在对应的已报名重修计划名单(根据重修计划名单ID)
  232. /// </summary>
  233. /// <param name="retakePlanStudentIDs"></param>
  234. /// <returns></returns>
  235. bool IsExistsApplyStudentByRetakePlanStudentID(string retakePlanStudentIDs);
  236. }
  237. }