ITeachersOrderServices.cs 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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.TeachingMaterial;
  7. using EMIS.ViewModel.WorkflowManage;
  8. using EMIS.ViewModel.SystemView;
  9. using EMIS.ViewModel;
  10. using EMIS.CommonLogic.SystemServices;
  11. using EMIS.Entities;
  12. namespace EMIS.CommonLogic.TeachingMaterial
  13. {
  14. public interface ITeachersOrderServices : IBaseWorkflowServices<ET_TeachersOrder>
  15. {
  16. /// <summary>
  17. /// 查询教师征订记录
  18. /// </summary>
  19. /// <param name="configuretView"></param>
  20. /// <param name="campusID"></param>
  21. /// <param name="collegeID"></param>
  22. /// <param name="schoolyearID"></param>
  23. /// <param name="educationID"></param>
  24. /// <param name="learningformID"></param>
  25. /// <param name="approvalStatus"></param>
  26. /// <param name="pageIndex"></param>
  27. /// <param name="pageSize"></param>
  28. /// <returns></returns>
  29. IGridResultSet<TeachersOrderView> GetTeachersOrderViewGrid(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
  30. Guid? collegeID, Guid? coursematerialID, Guid? publishID, int? ApprovalStatus, int pageIndex, int pageSize);
  31. /// <summary>
  32. /// 导出教师征订记录
  33. /// </summary>
  34. /// <param name="configuretView"></param>
  35. /// <param name="campusID"></param>
  36. /// <param name="collegeID"></param>
  37. /// <param name="schoolyearID"></param>
  38. /// <param name="educationID"></param>
  39. /// <param name="learningformID"></param>
  40. /// <param name="approvalStatus"></param>
  41. /// <param name="pageIndex"></param>
  42. /// <param name="pageSize"></param>
  43. /// <returns></returns>
  44. List<TeachersOrderView> GetTeachersOrderViewList(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
  45. Guid? collegeID, Guid? coursematerialID, Guid? publishID, int? ApprovalStatus);
  46. IGridResultSet<TeachersOrderView> GetTeachersOrderDetailViewList(Guid? teachersOrderID, int pageIndex, int pageSize);
  47. /// <summary>
  48. /// 查询教师征订已经提交申请记录
  49. /// </summary>
  50. /// <param name="configuretView"></param>
  51. /// <param name="campusID"></param>
  52. /// <param name="collegeID"></param>
  53. /// <param name="schoolyearID"></param>
  54. /// <param name="educationID"></param>
  55. /// <param name="learningformID"></param>
  56. /// <param name="approvalStatus"></param>
  57. /// <param name="pageIndex"></param>
  58. /// <param name="pageSize"></param>
  59. /// <returns></returns>
  60. IGridResultSet<TeachersOrderView> GetTeachersOrderExamineViewGrid(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
  61. Guid? collegeID, Guid? coursematerialID, Guid? publishID, int? ApprovalStatus, int pageIndex, int pageSize);
  62. /// <summary>
  63. /// 提交教师征订记录
  64. /// </summary>
  65. /// <param name="teachersOrderIDs"></param>
  66. /// <param name="userID"></param>
  67. /// <param name="comment"></param>
  68. void SubmitTeachersOrder(List<Guid> teachersOrderIDs, Guid userID, string comment = "");
  69. /// <summary>
  70. /// 审核教师征订记录
  71. /// </summary>
  72. /// <param name="specialtyApplyIDs">专业申请ID</param>
  73. /// <param name="userID">当前操作用户ID</param>
  74. /// <param name="actionID">动作ID</param>
  75. /// <param name="comment">处理意见</param>
  76. void ApproveTeachersOrder(List<Guid> teachersOrderIDs, Guid userID, ActionView actionView, string comment = "");
  77. /// <summary>
  78. /// 添加教师征订信息
  79. /// </summary>
  80. /// <param name="SpecialtyApply">申请专业实体</param>
  81. /// <returns></returns>
  82. void AddTeachersOrder(List<TeachersOrderView> teachersOrderViews, Guid createUserID);
  83. /// <summary>
  84. /// 获取流程审批步骤详细信息
  85. /// </summary>
  86. /// <param name="specialtyApplyID"></param>
  87. /// <returns></returns>
  88. IGridResultSet<WorkflowApproveHistoryView> GetWorkflowApproveHistoryView(Guid? teachersOrderID);
  89. /// <summary>
  90. /// 删除征订信息
  91. /// </summary>
  92. /// <param name="publishID"></param>
  93. void DeleteTeachersOrder(List<Guid> teachersOrderIDs);
  94. /// <summary>
  95. /// 编辑征订信息
  96. /// </summary>
  97. /// <param name="publisherView"></param>
  98. void EditTeachersOrder(TeachersOrderView TeachersOrderView, Guid createUserID);
  99. /// <summary>
  100. /// 获取单个征订信息
  101. /// </summary>
  102. /// <returns></returns>
  103. TeachersOrderView GetSingleTeachersOrder(Guid teachersOrderID);
  104. /// <summary>
  105. /// 获取单个征订信息
  106. /// </summary>
  107. /// <returns></returns>
  108. TeachersOrderView GetSingleTeachersOrderById(Guid teachersOrderID);
  109. /// <summary>
  110. /// 获取征订信息列表导出
  111. /// </summary>
  112. /// <param name="exp"></param>
  113. /// <returns></returns>
  114. IList<TeachersOrderView> GetTeachersOrderViewExcel(ConfiguretView configuretView, Guid? publishID, Guid? coursematerialID, bool? isLate);
  115. /// <summary>
  116. /// 获取教师征订及关联教库信息
  117. /// </summary>
  118. /// <param name="configuretView"></param>
  119. /// <param name="publishID"></param>
  120. /// <param name="coursematerialID"></param>
  121. /// <param name="teachingMaterialPoolID"></param>
  122. /// <param name="teachersOrderID"></param>
  123. /// <param name="isLate"></param>
  124. /// <param name="pageIndex"></param>
  125. /// <param name="pageSize"></param>
  126. /// <returns></returns>
  127. IGridResultSet<TeachingMaterialPoolView> GetTeachingOrderByTeachingMaterialPoolViewGrid(ConfiguretView configuretView, Guid? publishID, Guid? coursematerialID, Guid? teachingMaterialPoolID, Guid? teachersOrderID, bool? isLate, int pageIndex, int pageSize);
  128. /// <summary>
  129. /// 获取书库信息列表
  130. /// </summary>
  131. /// <param name="exp"></param>
  132. /// <returns></returns>
  133. IGridResultSet<TeachingMaterialPoolView> GetTeachersOrderOrTeachingMaterialPoolViewGrid(ConfiguretView configuretView, Guid? teachingMaterialID, Guid? coursematerialID, bool? isLate, Guid? college, Guid? schoolyearID, int pageIndex, int pageSize);
  134. void OnApproveEnd(List<Guid> teacherOrderIDList, Guid? userID);
  135. }
  136. }