ISelectCourseResultServices.cs 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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;
  7. using EMIS.ViewModel.SelectCourse.SelectCourseResult;
  8. using EMIS.ViewModel.Students;
  9. using EMIS.ViewModel.SelectCourse;
  10. using EMIS.Entities;
  11. namespace EMIS.CommonLogic.SelectCourse.SelectCourseResult
  12. {
  13. public interface ISelectCourseResultServices
  14. {
  15. IGridResultSet<SelectCourseResultView> GetSelectCourseResultViewList(
  16. ConfiguretView configuretView, Guid? schoolYearID, Guid? collegeID, Guid? courseID, int? courseTypeID, int? selectCourseTypeID,
  17. int? issCreated,int? isOpen,int pageIndex, int pageSize);
  18. List<SelectCourseResultView> GetSelectCourseResultViewList
  19. (ViewModel.ConfiguretView configuretView, Guid? schoolYearID, Guid? collegeID,
  20. Guid? courseID, int? courseTypeID, int? selectCourseTypeID, int? issCreated, int? isOpen);
  21. /// <summary>
  22. /// 学生选课名单分页,区分限选学生和任选学生
  23. /// </summary>
  24. /// <param name="ID"></param>
  25. /// <param name="Type"></param>
  26. /// <param name="pageIndex"></param>
  27. /// <param name="pageSize"></param>
  28. /// <returns></returns>
  29. IGridResultSet<BaseStudentView> GetSelectCourseStudentViewGrid(Guid ID, string Type, int pageIndex, int pageSize);
  30. /// <summary>
  31. /// 学生选课名单,区分限选学生和任选学生
  32. /// </summary>
  33. /// <param name="ID"></param>
  34. /// <param name="Type"></param>
  35. /// <returns></returns>
  36. List<BaseStudentView> GetSelectCourseStudentViewList(Guid ID, string Type);
  37. void OptionalCourseSettingUpdate(OptionalCourseSettingView optionalCourseSettingView, IList<OptionalCourseTeacherListView> teacherList);
  38. void ChooseEducationMissionClass(List<Guid?> executablePlanIDs, string Type);
  39. bool EditStudent(SelectCourseResultView selectCourseResult, IList<StudentsView> studentList);
  40. /// <summary>
  41. /// 获取教学任务授课老师
  42. /// </summary>
  43. /// <param name="educationMissionClassID"></param>
  44. /// <returns></returns>
  45. List<EMIS.ViewModel.SelectCourse.OptionalCourseTeacherListView> GetTeacherList(Guid? ID, string Type);
  46. /// <summary>
  47. /// 选课结果人数是否达到下限
  48. /// </summary>
  49. /// <param name="IDs"></param>
  50. /// <returns></returns>
  51. bool CheckEnouthNum(IList<Guid?> IDs);
  52. /// <summary>
  53. /// 取消开班
  54. /// </summary>
  55. /// <param name="executablePlanIDs"></param>
  56. void CancelEducationMissionClass(List<Guid?> executablePlanIDs);
  57. }
  58. }