IFinalExaminationServices.cs 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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.ScoreManage;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. using EMIS.ViewModel.Students;
  10. using EMIS.CommonLogic.SystemServices;
  11. namespace EMIS.CommonLogic.ScoreManage
  12. {
  13. public interface IFinalExaminationServices : IBaseWorkflowServices<ER_FinalExamination>
  14. {
  15. /// <summary>
  16. /// 查询期末设定
  17. /// </summary>
  18. /// <param name="configuretView"></param>
  19. /// <param name="collegeID"></param>
  20. /// <param name="departmentID"></param>
  21. /// <param name="schoolyearID"></param>
  22. /// <param name="coursematerialID"></param>
  23. /// <param name="courseTypeID"></param>
  24. /// <param name="courseQualityID"></param>
  25. /// <param name="pageIndex"></param>
  26. /// <param name="pageSize"></param>
  27. /// <returns></returns>
  28. IGridResultSet<FinalExaminationView> GetFinalExaminationViewGrid(ConfiguretView configuretView, Guid? collegeID,
  29. Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? examinationType, int? approvalStatus, int? gradeYearID, int pageIndex, int pageSize);
  30. List<FinalExaminationView> GetFinalExaminationViewList_Excel(ConfiguretView configuretView, Guid? collegeID,
  31. Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? examinationType, int? approvalStatus, int? gradeYearID, List<Guid?> FinalExaminationIDList);
  32. /// <summary>
  33. /// 查询期末设定
  34. /// </summary>
  35. /// <param name="configuretView"></param>
  36. /// <param name="collegeID"></param>
  37. /// <param name="departmentID"></param>
  38. /// <param name="schoolyearID"></param>
  39. /// <param name="coursematerialID"></param>
  40. /// <param name="courseTypeID"></param>
  41. /// <param name="courseQualityID"></param>
  42. /// <param name="pageIndex"></param>
  43. /// <param name="pageSize"></param>
  44. /// <returns></returns>
  45. List<FinalExaminationView> GetFinalExaminationViewList(ConfiguretView configuretView, Guid? collegeID,
  46. Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? examinationType, int? approvalStatus);
  47. /// <summary>
  48. /// 查询考试设定相关学生明细表,按兵良要求,暂时用于补考设定学生明细导出功能
  49. /// </summary>
  50. /// <param name="configuretView"></param>
  51. /// <param name="collegeID"></param>
  52. /// <param name="departmentID"></param>
  53. /// <param name="schoolyearID"></param>
  54. /// <param name="coursematerialID"></param>
  55. /// <param name="courseTypeID"></param>
  56. /// <param name="examsCategoryID"></param>
  57. /// <param name="examinationType"></param>
  58. /// <param name="approvalStatus"></param>
  59. /// <returns></returns>
  60. List<ViewModel.ScoreManage.ResitStudentView> GetFinalExaminationStudentDetailsList(ViewModel.ConfiguretView configuretView, Guid? collegeID, Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? examinationType, int? approvalStatus, int? gradeYearID, List<Guid?> FinalExaminationIDList);
  61. /// <summary>
  62. /// 查询期末设定实体
  63. /// </summary>
  64. /// <param name="finalExaminationID"></param>
  65. /// <returns></returns>
  66. FinalExaminationView GetFinalExaminationView(Guid? finalExaminationID);
  67. /// <summary>
  68. /// 查询期末设定实体
  69. /// </summary>
  70. /// <param name="finalExaminationID"></param>
  71. /// <returns></returns>
  72. ER_FinalExamination GetFinalExamination(Guid? finalExaminationID);
  73. /// <summary>
  74. /// 添加
  75. /// </summary>
  76. /// <param name="finalExaminationView"></param>
  77. void FinalExaminationAdd(FinalExaminationView finalExaminationView, List<Guid?> ClassmajorIDList);
  78. /// <summary>
  79. /// 删除
  80. /// </summary>
  81. /// <param name="finalExaminationIDs"></param>
  82. void FinalExaminationDelete(List<Guid?> finalExaminationIDs);
  83. /// <summary>
  84. /// 根据教学任务生成期末设定
  85. /// </summary>
  86. void GenerateFinalExamination(Guid? schoolyearID, Guid? collegeID, int? gradeID, int? standardID, bool isGenerateNotSubmit);
  87. /// <summary>
  88. /// 获取期末设定学生
  89. /// </summary>
  90. /// <param name="finalExaminationID"></param>
  91. /// <returns></returns>
  92. IGridResultSet<BaseStudentView> GetFinalExaminationStudent(Guid? finalExaminationID);
  93. /// <summary>
  94. /// 获取期末设定学生(添加学生时用)
  95. /// </summary>
  96. /// <param name="finalExaminationID"></param>
  97. /// <returns></returns>
  98. BaseStudentView GetFinalExaminationStudentForStudentAdd(Guid? finalExaminationID, Guid? userID);
  99. /// <summary>
  100. /// 添加期末设定学生
  101. /// </summary>
  102. /// <param name="finalExaminationID"></param>
  103. /// <param name="userIDs"></param>
  104. void FinalExaminationStudentAdd(Guid? finalExaminationID, List<BaseStudentView> listBaseStudentView);
  105. /// <summary>
  106. /// 期末生成
  107. /// </summary>
  108. void GenerateResitExamination(Guid? schoolyearID, Guid? collegeID, int? gradeID, int? standardID, Guid? classmajorID);
  109. /// <summary>
  110. /// 毕业生成
  111. /// </summary>
  112. /// <param name="year"></param>
  113. void GenerateGraduationExam(int? year, Guid? collegeID, int? standardID, Guid? classmajorID, decimal? learnSystem);
  114. /// <summary>
  115. /// 更新 是否可录入字段
  116. /// </summary>
  117. /// <param name="finalExaminationIDs"></param>
  118. void GetFinal_ResitExaminationIsEntry(List<Guid> finalExaminationIDs);
  119. /// <summary>
  120. /// 查找默认开课学期
  121. /// </summary>
  122. /// <param name="finalExaminationID"></param>
  123. /// <param name="UserID"></param>
  124. /// <returns></returns>
  125. FinalExaminationView GetStarttermID(Guid? finalExaminationID, Guid? UserID);
  126. /// <summary>
  127. /// 添加学生
  128. /// </summary>
  129. /// <param name="finalExaminationView"></param>
  130. void StudentAdd(FinalExaminationView finalExaminationView);
  131. /// <summary>
  132. /// 删除学生
  133. /// </summary>
  134. /// <param name="finalExaminationID"></param>
  135. /// <param name="UserID"></param>
  136. void FinalExaminationStudentDelete(Guid finalExaminationID, List<Guid?> UserID);
  137. /// <summary>
  138. /// 撤销录入
  139. /// </summary>
  140. /// <param name="finalExaminationIDs"></param>
  141. void GetFinal_ResitExaminationBack(List<Guid> finalExaminationIDs);
  142. /// <summary>
  143. /// 撤销录入
  144. /// </summary>
  145. /// <param name="finalExaminationIDs"></param>
  146. //string CanBatchEdit(List<Guid?> finalExaminationIDs);
  147. }
  148. }