IPlanApplicationServices.cs 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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.Entities;
  7. using EMIS.ViewModel;
  8. using EMIS.ViewModel.CultureplanManage.PlanManagement;
  9. using EMIS.ViewModel.CultureplanManage;
  10. using EMIS.CommonLogic.SystemServices;
  11. namespace EMIS.CommonLogic.CultureplanManage.PlanManagement
  12. {
  13. public interface IPlanApplicationServices : IBaseWorkflowServices<EM_PlanApplication>
  14. {
  15. /// <summary>
  16. /// 查询对应的计划申请信息PlanApplicationView
  17. /// 注:普教版本(年级专业)
  18. /// </summary>
  19. /// <param name="configuretView"></param>
  20. /// <param name="schoolyearID"></param>
  21. /// <param name="campusID"></param>
  22. /// <param name="collegeID"></param>
  23. /// <param name="yearID"></param>
  24. /// <param name="standardID"></param>
  25. /// <param name="educationID"></param>
  26. /// <param name="learningformID"></param>
  27. /// <param name="learnSystem"></param>
  28. /// <param name="grademajorID"></param>
  29. /// <param name="coursematerialID"></param>
  30. /// <param name="handleModeID"></param>
  31. /// <param name="approvalStatus"></param>
  32. /// <param name="pageIndex"></param>
  33. /// <param name="pageSize"></param>
  34. /// <returns></returns>
  35. IGridResultSet<PlanApplicationView> GetPlanApplicationViewGrid(ConfiguretView configuretView, Guid? schoolyearID, Guid? campusID,
  36. Guid? collegeID, int? yearID, int? standardID, int? educationID, int? learningformID, string learnSystem, Guid? grademajorID,
  37. Guid? coursematerialID, int? handleModeID, int? approvalStatus, int pageIndex, int pageSize);
  38. /// <summary>
  39. /// 查询对应的计划申请信息List
  40. /// 注:普教版本(年级专业)
  41. /// </summary>
  42. /// <param name="configuretView"></param>
  43. /// <param name="schoolyearID"></param>
  44. /// <param name="campusID"></param>
  45. /// <param name="collegeID"></param>
  46. /// <param name="yearID"></param>
  47. /// <param name="standardID"></param>
  48. /// <param name="educationID"></param>
  49. /// <param name="learningformID"></param>
  50. /// <param name="learnSystem"></param>
  51. /// <param name="grademajorID"></param>
  52. /// <param name="coursematerialID"></param>
  53. /// <param name="handleModeID"></param>
  54. /// <param name="approvalStatus"></param>
  55. /// <returns></returns>
  56. IList<PlanApplicationView> GetPlanApplicationViewList(ConfiguretView configuretView, Guid? schoolyearID, Guid? campusID,
  57. Guid? collegeID, int? yearID, int? standardID, int? educationID, int? learningformID, string learnSystem, Guid? grademajorID,
  58. Guid? coursematerialID, int? handleModeID, int? approvalStatus);
  59. /// <summary>
  60. /// 查询对应的计划申请信息PlanApplicationView(根据计划申请ID)
  61. /// </summary>
  62. /// <param name="planApplicationID"></param>
  63. /// <returns></returns>
  64. PlanApplicationView GetPlanApplicationView(Guid? planApplicationID);
  65. /// <summary>
  66. /// 编辑(新增、修改,业务主键:学年学期ID、年级专业ID、课程信息ID)
  67. /// </summary>
  68. /// <param name="planApplicationView"></param>
  69. void PlanApplicationEdit(PlanApplicationView planApplicationView);
  70. /// <summary>
  71. /// 专业课程模版批量新增
  72. /// </summary>
  73. /// <param name="specialtyCourseViewList"></param>
  74. /// <param name="planApplicationView"></param>
  75. /// <returns></returns>
  76. string PlanApplicationBatchAdd(List<SpecialtyCourseView> specialtyCourseViewList, PlanApplicationView planApplicationView);
  77. /// <summary>
  78. /// 查询对应的未申请专业课程信息SpecialtyCourseView
  79. /// </summary>
  80. /// <param name="configuretView"></param>
  81. /// <param name="departmentID"></param>
  82. /// <param name="standardID"></param>
  83. /// <param name="educationID"></param>
  84. /// <param name="learningformID"></param>
  85. /// <param name="learnSystem"></param>
  86. /// <param name="coursematerialID"></param>
  87. /// <param name="starttermID"></param>
  88. /// <param name="handleModeID"></param>
  89. /// <param name="yearID"></param>
  90. /// <param name="grademajorID"></param>
  91. /// <param name="pageIndex"></param>
  92. /// <param name="pageSize"></param>
  93. /// <returns></returns>
  94. IGridResultSet<SpecialtyCourseView> GetSpecialtyCourseViewNoApplyGrid(ConfiguretView configuretView, Guid? departmentID,
  95. int? standardID, int? educationID, int? learningformID, string learnSystem, Guid? coursematerialID,
  96. int? starttermID, int? handleModeID, int? yearID, Guid? grademajorID, int pageIndex, int pageSize);
  97. /// <summary>
  98. /// 查询对应的未申请专业课程信息List
  99. /// </summary>
  100. /// <param name="configuretView"></param>
  101. /// <param name="departmentID"></param>
  102. /// <param name="standardID"></param>
  103. /// <param name="educationID"></param>
  104. /// <param name="learningformID"></param>
  105. /// <param name="learnSystem"></param>
  106. /// <param name="coursematerialID"></param>
  107. /// <param name="starttermID"></param>
  108. /// <param name="handleModeID"></param>
  109. /// <param name="yearID"></param>
  110. /// <param name="grademajorID"></param>
  111. /// <returns></returns>
  112. IList<SpecialtyCourseView> GetSpecialtyCourseViewNoApplyList(ConfiguretView configuretView, Guid? departmentID,
  113. int? standardID, int? educationID, int? learningformID, string learnSystem, Guid? coursematerialID,
  114. int? starttermID, int? handleModeID, int? yearID, Guid? grademajorID);
  115. /// <summary>
  116. /// 删除
  117. /// </summary>
  118. /// <param name="planApplicationIDs"></param>
  119. /// <returns></returns>
  120. bool PlanApplicationDelete(List<Guid?> planApplicationIDs);
  121. /// <summary>
  122. /// 提交
  123. /// </summary>
  124. /// <param name="planApplicationIDs"></param>
  125. /// <param name="userID"></param>
  126. /// <param name="comment"></param>
  127. /// <returns></returns>
  128. string PlanApplicationSubmit(List<Guid> planApplicationIDs, Guid userID, string comment = "");
  129. /// <summary>
  130. /// 查询计划申请对应的授课方式List
  131. /// </summary>
  132. /// <param name="planApplicationID"></param>
  133. /// <returns></returns>
  134. List<string> GetTeachingModeTypeList(Guid? planApplicationID);
  135. /// <summary>
  136. /// 查询计划申请对应的授课地点List
  137. /// </summary>
  138. /// <param name="planApplicationID"></param>
  139. /// <returns></returns>
  140. List<string> GetTeachingPlaceList(Guid? planApplicationID);
  141. /// <summary>
  142. /// 流程结束跳转函数(工作流平台中配置)
  143. /// 注:此为普教版本(年级专业)
  144. /// 注:根据不同的版本配置(区分普教、成教版本-工作流跳转函数)
  145. /// </summary>
  146. /// <param name="planApplicationIDList"></param>
  147. /// <param name="userID"></param>
  148. void OnApproveEnd(List<Guid> planApplicationIDList, Guid? userID);
  149. }
  150. }