IFreeSelectionCourseServices.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. namespace EMIS.CommonLogic.SelectCourse
  12. {
  13. public interface IFreeSelectionCourseServices : IBaseWorkflowServices<EM_FreeSelectionCouseApply>
  14. {
  15. /// <summary>
  16. /// 查询任选课程列表
  17. /// </summary>
  18. /// <param name="configuretView">查询条件</param>
  19. /// <param name="specialtyApplyID">专业申请ID</param>
  20. /// <param name="coursematerialID">课程资料ID</param>
  21. /// <param name="schoolcodeID">学期</param>
  22. /// <param name="starttermID">开课学期</param>
  23. /// <param name="isEnable">是否启用</param>
  24. /// <param name="pageIndex">页码</param>
  25. /// <param name="pageSize">页数</param>
  26. /// <returns></returns>
  27. IGridResultSet<FreeSelectionCourseView> GetFreeSelectionCourseViewGrid(ConfiguretView configuretView,
  28. Guid? coursematerialID,Guid? departmentID, int? schoolcodeID, int? starttermID, int? isEnable, int pageIndex, int pageSize);
  29. /// <summary>
  30. /// 查询任选课程列表
  31. /// </summary>
  32. /// <param name="configuretView">查询条件</param>
  33. /// <param name="specialtyApplyID">专业申请ID</param>
  34. /// <param name="coursematerialID">课程资料ID</param>
  35. /// <param name="schoolcodeID">学期</param>
  36. /// <param name="starttermID">开课学期</param>
  37. /// <param name="isEnable">是否启用</param>
  38. /// <returns></returns>
  39. List<FreeSelectionCourseView> GetFreeSelectionCourseViewList(ConfiguretView configuretView,
  40. Guid? coursematerialID,Guid? departmentID, int? schoolcodeID, int? starttermID, int? isEnable);
  41. /// <summary>
  42. /// 根据ID 查询任选课程对象
  43. /// </summary>
  44. /// <param name="freeSelectionCourseID">任选课程ID</param>
  45. /// <returns></returns>
  46. EM_FreeSelectionCouse GetFreeSelectionCourse(Guid? freeSelectionCourseID);
  47. /// <summary>
  48. /// 根据ID 查询任选课程对象
  49. /// </summary>
  50. /// <param name="freeSelectionCourseID">任选课程ID</param>
  51. /// <returns></returns>
  52. FreeSelectionCourseView GetFreeSelectionCourseView(Guid? freeSelectionCourseID);
  53. /// <summary>
  54. /// 专业课程教学设置表
  55. /// </summary>
  56. /// <param name="freeSelectionCourseID">任选课程ID</param>
  57. /// <returns></returns>
  58. EM_FreeSelectionCouseTeachingSetting GetFreeSelectionCourseTeachingSetting(Guid? freeSelectionCourseID);
  59. /// <summary>
  60. /// 添加
  61. /// </summary>
  62. /// <param name="freeSelectionCourse">任选课程对象</param>
  63. /// <param name="freeSelectionCourseTeachingSetting">任选课程教学设置表</param>
  64. /// <returns></returns>
  65. bool FreeSelectionCourseAdd(FreeSelectionCourseView freeSelectionCourseView);
  66. /// <summary>
  67. /// 更新
  68. /// </summary>
  69. /// <param name="freeSelectionCourse">任选课程对象</param>
  70. /// <param name="freeSelectionCourseTeachingSetting">任选课程教学设置表</param>
  71. /// <returns></returns>
  72. bool FreeSelectionCourseUpdate(FreeSelectionCourseView freeSelectionCourseView);
  73. /// <summary>
  74. /// 删除
  75. /// </summary>
  76. /// <param name="freeSelectionCourseIDs">删除任选课程ID</param>
  77. /// <returns></returns>
  78. bool FreeSelectionCourseDelete(List<Guid?> freeSelectionCourseIDs);
  79. /// <summary>
  80. /// 根据任选课程获取授课方式
  81. /// </summary>
  82. /// <param name="freeSelectionCourseID"></param>
  83. /// <returns></returns>
  84. List<int> GetTeachingModeType(Guid? freeSelectionCourseID);
  85. /// <summary>
  86. /// 根据课程查询
  87. /// </summary>
  88. /// <param name="coursematerialID">课程ID</param>
  89. /// <returns></returns>
  90. EM_FreeSelectionCouse GetFreeSelectionCourseCourse(Guid? coursematerialID);
  91. void SaveFreeSelectionCourseTeachers(Guid freeSelectionCourseApplyID, IList<FreeSelectionCourseApplyTeacherListView> teacherList);
  92. }
  93. }