IFreeSelectionCourseApplyServices.cs 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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.SelectCourse;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. using EMIS.ViewModel.WorkflowManage;
  10. using EMIS.CommonLogic.SystemServices;
  11. using EMIS.ViewModel.EnrollManage.SpecialtyManage;
  12. namespace EMIS.CommonLogic.SelectCourse
  13. {
  14. public interface IFreeSelectionCourseApplyServices : IBaseWorkflowServices<EM_FreeSelectionCouseApply>
  15. {
  16. /// <summary>
  17. /// 根据任选开课获取授课方式
  18. /// </summary>
  19. /// <param name="freeSelectionCourseApplyID"></param>
  20. /// <returns></returns>
  21. List<int> GetCourseApplyTeachingModeType(Guid? freeSelectionCourseApplyID);
  22. /// <summary>
  23. /// 根据任选开课获取授课方式
  24. /// </summary>
  25. /// <param name="freeSelectionCourseApplyID"></param>
  26. /// <returns></returns>
  27. List<int> GetCourseApplyGradeYear(Guid? freeSelectionCourseApplyID);
  28. /// <summary>
  29. /// 根据课程查询
  30. /// </summary>
  31. /// <param name="coursematerialID">课程ID</param>
  32. /// <returns></returns>
  33. EM_FreeSelectionCouse GetFreeSelectionCourseCourse(Guid? coursematerialID);
  34. /// <summary>
  35. /// 查询所有开课申请信息
  36. /// </summary>
  37. /// <param name="configuretView">查询条件实体</param>
  38. /// <param name="schoolyearID">学年学期</param>
  39. /// <param name="campusID">(开课)校区</param>
  40. /// <param name="collegeID">(开课)院系所</param>
  41. /// <param name="departmentID">(开课)教研室</param>
  42. /// <param name="approvalStatus">审批状态</param>
  43. /// <param name="pageIndex">页码</param>
  44. /// <param name="pageSize">显示条数</param>
  45. /// <returns></returns>
  46. IGridResultSet<FreeSelectionCourseApplyView> GetFreeSelectionCoursePlanViewGrid(ConfiguretView configuretView,
  47. Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus, int pageIndex, int pageSize);
  48. /// <summary>
  49. /// 查询所有开课申请信息
  50. /// </summary>
  51. /// <param name="configuretView">查询条件实体</param>
  52. /// <param name="schoolyearID">学年学期</param>
  53. /// <param name="campusID">(开课)校区</param>
  54. /// <param name="collegeID">(开课)院系所</param>
  55. /// <param name="departmentID">(开课)教研室</param>
  56. /// <param name="approvalStatus">审批状态</param>
  57. List<FreeSelectionCourseApplyView> GetFreeSelectionCoursePlanViewList(ConfiguretView configuretView,
  58. Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus);
  59. /// <summary>
  60. /// 获取开课审批信息
  61. /// </summary>
  62. /// <param name="configuretView">查询条件实体</param>
  63. /// <param name="schoolyearID">学年学期</param>
  64. /// <param name="campusID">(开课)校区</param>
  65. /// <param name="collegeID">(开课)院系所</param>
  66. /// <param name="departmentID">(开课)教研室</param>
  67. /// <param name="approvalStatus">审批状态</param>
  68. /// <param name="pageIndex">页码</param>
  69. /// <param name="pageSize">显示条数</param>
  70. /// <returns></returns>
  71. IGridResultSet<FreeSelectionCourseApplyView> GetFreeSelectionCoursePlanApprovalViewGrid(ConfiguretView configuretView,
  72. Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus, int pageIndex, int pageSize);
  73. /// <summary>
  74. /// 获取所有开课审批信息
  75. /// </summary>
  76. /// <param name="configuretView">查询条件实体</param>
  77. /// <param name="schoolyearID">学年学期</param>
  78. /// <param name="campusID">(开课)校区</param>
  79. /// <param name="collegeID">(开课)院系所</param>
  80. /// <param name="departmentID">(开课)教研室</param>
  81. /// <param name="approvalStatus">审批状态</param>
  82. List<FreeSelectionCourseApplyView> GetFreeSelectionCoursePlanApprovalView(ConfiguretView configuretView,
  83. Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus);
  84. /// <summary>
  85. /// 查询计划申请详细
  86. /// </summary>
  87. /// <param name="freeSelectionCourseApplyID">主键ID</param>
  88. /// <returns></returns>
  89. FreeSelectionCourseApplyView GetFreeSelectionCourseApplyView(Guid? freeSelectionCourseApplyID);
  90. /// <summary>
  91. /// 查询计划申请详细
  92. /// </summary>
  93. /// <param name="freeSelectionCourseApplyID">主键ID</param>
  94. /// <returns></returns>
  95. EM_FreeSelectionCouseApply GetFreeSelectionCourseApply(Guid? freeSelectionCourseApplyID);
  96. /// <summary>
  97. /// 添加
  98. /// </summary>
  99. /// <param name="freeSelectionCourseApply">实体</param>
  100. /// <returns></returns>
  101. bool FreeSelectionCourseApplyAdd(FreeSelectionCourseApplyView freeSelectionCourseApply, IList<FreeSelectionCourseApplyTeacherListView> teacherList, IList<FreeSelectionCourseApplySpecialtyListView> specialtyList, IList<ExecutableFreeSelectionCouseSchedulingView> schedulingList, out int? type);
  102. /// <summary>
  103. /// 更新
  104. /// </summary>
  105. /// <param name="freeSelectionCourseApply">实体</param>
  106. /// <returns></returns>
  107. bool FreeSelectionCourseApplyUpdate(FreeSelectionCourseApplyView freeSelectionCourseApply, IList<FreeSelectionCourseApplyTeacherListView> teacherList, IList<FreeSelectionCourseApplySpecialtyListView> specialtyList, IList<ExecutableFreeSelectionCouseSchedulingView> schedulingList, out int? type);
  108. bool FreeSelectionCourseApplyUpdate(IList<FreeSelectionCourseApplyView> freeSelectionCourseApplyList);
  109. /// <summary>
  110. /// 删除
  111. /// </summary>
  112. /// <param name="freeSelectionCourseApplyIDs">主键ID列表</param>
  113. /// <returns></returns>
  114. bool FreeSelectionCourseApplyDelete(List<Guid?> freeSelectionCourseApplyIDs);
  115. void Submit(List<Guid> freeSelectionCourseApplyIDs, Guid userID, string comment = "");
  116. Entities.CF_Staff GetStaff(Guid? userID);
  117. List<FreeSelectionCourseApplyTeacherListView> GetFreeSelectionCourseApplyTeacherListView(Guid freeSelectionCourseApplyID);
  118. List<SpecialtyView> GetFreeSelectionCourseApplySpecialtyListView(Guid freeSelectionCourseApplyID);
  119. void SaveFreeSelectionCourseTeachers(Guid freeSelectionCourseApplyID, IList<FreeSelectionCourseApplyTeacherListView> teacherList);
  120. string DefaultClassNo(Guid SchoolyearID, Guid freeSelectionCourseID, string StartWeeklyNum, string EndWeeklyNum);
  121. List<ExecutableFreeSelectionCouseSchedulingView> GetSchedulingView(Guid FreeSelectionCouseApplyID);
  122. }
  123. }