IScoreServices.cs 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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 System.Dynamic;
  10. using System.Data;
  11. using EMIS.ViewModel.WorkflowManage;
  12. using EMIS.CommonLogic.SystemServices;
  13. namespace EMIS.CommonLogic.ScoreManage
  14. {
  15. public interface IScoreServices : IBaseWorkflowServices<ER_FinalExamination>
  16. {
  17. /// <summary>
  18. /// 查询期末设定
  19. /// </summary>
  20. /// <param name="configuretView"></param>
  21. /// <param name="collegeID"></param>
  22. /// <param name="departmentID"></param>
  23. /// <param name="schoolyearID"></param>
  24. /// <param name="coursematerialID"></param>
  25. /// <param name="courseTypeID"></param>
  26. /// <param name="courseQualityID"></param>
  27. /// <param name="pageIndex"></param>
  28. /// <param name="pageSize"></param>
  29. /// <returns></returns>
  30. IGridResultSet<FinalExaminationView> GetFinalExaminationViewGrid(ConfiguretView configuretView, Guid? collegeID,
  31. Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? approvalStatus, int? gradeYearID, string isCheck, int pageIndex, int pageSize);
  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? approvalStatus, int? gradeYearID, string isCheck, List<Guid?> idList = null);
  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="courseQualityID"></param>
  57. /// <param name="pageIndex"></param>
  58. /// <param name="pageSize"></param>
  59. /// <returns></returns>
  60. IGridResultSet<FinalExaminationView> GetFinalExaminationScoreAuditViewGrid(ConfiguretView configuretView, Guid? collegeID,
  61. Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? gradeYearID, int? approvalStatus, int pageIndex, int pageSize);
  62. /// <summary>
  63. /// 查询未审核期末设定
  64. /// </summary>
  65. /// <param name="configuretView"></param>
  66. /// <param name="collegeID"></param>
  67. /// <param name="departmentID"></param>
  68. /// <param name="schoolyearID"></param>
  69. /// <param name="coursematerialID"></param>
  70. /// <param name="courseTypeID"></param>
  71. /// <param name="courseQualityID"></param>
  72. /// <param name="pageIndex"></param>
  73. /// <param name="pageSize"></param>
  74. /// <returns></returns>
  75. List<FinalExaminationView> GetFinalExaminationScoreAuditViewList(ConfiguretView configuretView, Guid? collegeID,
  76. Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? gradeYearID, int? status);
  77. /// <summary>
  78. /// 重置
  79. /// </summary>
  80. /// <param name="finalExaminationID"></param>
  81. void ScoreResettingDelete(Guid? finalExaminationID);
  82. /// <summary>
  83. /// 保存
  84. /// </summary>
  85. /// <param name="finalExaminationView"></param>
  86. /// <param name="scoreViewList"></param>
  87. void ScoreSave(FinalExaminationView finalExaminationView, IList<StudentScoreInputView> scoreViewList);
  88. /// <summary>
  89. /// 提交
  90. /// </summary>
  91. /// <param name="finalExaminationIDs"></param>
  92. void Submit(FinalExaminationView finalExaminationView, IList<StudentScoreInputView> scoreViewList);
  93. /// <summary>
  94. /// 获取成绩明细
  95. /// </summary>
  96. /// <param name="finalExaminationID"></param>
  97. /// <returns></returns>
  98. IGridResultSet<StudentScoreInputView> GetStudentScoreInputViewGrid(Guid? finalExaminationID);
  99. /// <summary>
  100. /// 获取录入成绩
  101. /// </summary>
  102. /// <param name="finalExaminationIDs"></param>
  103. /// <returns></returns>
  104. List<ER_Score> GetScoreList(Guid? finalExaminationID);
  105. void Rebut(List<Guid?> listUserID, Guid? finalExaminationID);
  106. List<ActionView> GetAuditingActionView(Guid formID, Guid userID);
  107. void FinalExaminationApproved(List<Guid> finalExaminationIDList, Guid userID);
  108. void FinalExaminationRebutDisAgree(List<Guid> finalExaminationIDList, Guid userID);
  109. int? GetNormalExamsID();
  110. int? GetExaminationSuspensionID();
  111. int? GetExaminationExemptionID();
  112. List<int?> GetMisconductIDList();
  113. /// <summary>
  114. /// 根据缓考记录刷新状态
  115. /// </summary>
  116. /// <param name="examinationSuspensionIDList"></param>
  117. void RefreshExaminationSuspensionState(IList<Guid> examinationSuspensionIDList);
  118. /// <summary>
  119. /// 根据缓考记录刷新状态(撤销)
  120. /// </summary>
  121. /// <param name="examinationSuspensionIDList"></param>
  122. void RefreshCancelExaminationSuspensionState(IList<Guid> examinationSuspensionIDList);
  123. /// <summary>
  124. /// 根据免考记录刷新状态
  125. /// </summary>
  126. /// <param name="examinationExemptionIDList"></param>
  127. void RefreshExaminationExemptionState(IList<Guid> examinationExemptionIDList);
  128. /// <summary>
  129. /// 根据免考记录刷新状态(撤销)
  130. /// </summary>
  131. /// <param name="examinationExemptionIDList"></param>
  132. void RefreshCancelExaminationExemptionState(IList<Guid> examinationExemptionIDList);
  133. /// <summary>
  134. /// 根据违纪记录刷新状态
  135. /// </summary>
  136. /// <param name="misconductIDList"></param>
  137. void RefreshMisconductState(IList<Guid> misconductIDList);
  138. /// <summary>
  139. /// 根据违纪记录刷新状态(撤销)
  140. /// </summary>
  141. /// <param name="misconductIDList"></param>
  142. void RefreshCancelMisconductState(IList<Guid> misconductIDList);
  143. ExcelImportResult ScoreImport(string filePath, Guid? finalExaminationID);
  144. /// <summary>
  145. /// //获取录入状态
  146. /// </summary>
  147. int? ApprovalStatus();
  148. ///<summary>
  149. ///检查是否能被审核
  150. ///</summary>
  151. void CheckApprovalStatus(List<int?> ApprovalStatus);
  152. /// <summary>
  153. /// 删除成绩
  154. /// </summary>
  155. /// <param name="finalExaminationIDs"></param>
  156. void ScoreDelete(List<Guid> finalExaminationIDs);
  157. List<ER_ResultTypeDetail> GetScoreType(Guid? finalExaminationIDs);
  158. List<ER_ExamsStateSetting> GetExamsStateSettingList();
  159. List<ER_ScoreFormula> GetScoreFormulaList();
  160. }
  161. }