IExaminationPlanServices.cs 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.UniversityManage.TeacherManage;
  6. using EMIS.ViewModel.Students;
  7. using EMIS.ViewModel.ExaminationManage;
  8. using EMIS.ViewModel;
  9. using Bowin.Common.Linq.Entity;
  10. using EMIS.ViewModel.EducationSchedule;
  11. namespace EMIS.CommonLogic.ExaminationManage
  12. {
  13. public interface IExaminationPlanServices
  14. {
  15. Bowin.Common.Linq.Entity.IGridResultSet<ViewModel.ExaminationManage.ExaminationPlanView> GetExaminationPlanViewList(
  16. ViewModel.ConfiguretView examinationPlanView,
  17. Guid? schoolyearID, Guid? collegeID, int? gradeYearID, int? standardID, Guid? coursematerialID, int? examsCategoryID, int? examinationModeID, int? examinationStyleID, int? starWeek, int? endWeek, int? courseEndWeek, int? statusID,
  18. int pageIndex, int pageSize);
  19. IGridResultSet<ExaminationPlanView> GetGdssExaminationPlanViewList(ConfiguretView configuretView, Guid? schoolyearID, Guid? collegeID, Guid? classmajorID, int? gradeYearID, int? standardID, Guid? coursematerialID, int? examsCategoryID, int? examinationModeID, int? examinationStyleID, int? courseEndWeek, int? statusID, int pageIndex, int pageSize);
  20. List<ViewModel.ExaminationManage.ExaminationPlanView> GetExaminationPlanViewList(ViewModel.ConfiguretView examinationPlanView,
  21. Guid? schoolyearID, Guid? collegeID, int? gradeYearID, int? standardID, Guid? coursematerialID, int? examsCategoryID, int? examinationModeID, int? examinationStyleID, int? starWeek, int? endWeek, int? courseEndWeek, int? statusID, List<Guid?> selectIDlist);
  22. List<ViewModel.ExaminationManage.ExaminationPlanView> GetGdssExaminationPlanViewList(ViewModel.ConfiguretView examinationPlanView,
  23. Guid? schoolyearID, Guid? collegeID, Guid? classmajorID, int? gradeYearID, int? standardID, Guid? coursematerialID, int? examsCategoryID, int? examinationModeID, int? examinationStyleID, int? courseEndWeek, int? statusID, List<Guid?> selectIDlist);
  24. List<ViewModel.ExaminationManage.ExaminationPlanView> GetAdultExaminationPlanViewList(ViewModel.ConfiguretView examinationPlanView,
  25. Guid? schoolyearID, Guid? collegeID, int? gradeYearID, int? standardID, Guid? coursematerialID, int? examsCategoryID, int? examinationModeID, int? examinationStyleID, int? starWeek, int? endWeek, int? courseEndWeek, int? statusID, List<Guid?> selectIDlist);
  26. IGridResultSet<ViewModel.ExaminationManage.ExaminationRoomLayoutView> GetExaminationRoomLayoutViewList(Guid examinationPlanID);
  27. ViewModel.ExaminationManage.ExaminationPlanView GetExaminationPlanViewInfo(Guid? examinationPlanID);
  28. ViewModel.ExaminationManage.ExaminationPlanGdssView GetExaminationPlanGdssViewInfo(Guid? examinationPlanID);
  29. ViewModel.ExaminationManage.ExaminationRoomLayoutView GetExaminationRoomLayoutViewInfo(Guid? examinationRoomLayoutID);
  30. void GenerateExaminationPlan(Guid? schoolyearID, Guid? collegeID, int? gradeID, int? standardID);
  31. void GenerateResitPlan(Guid schoolyearID);
  32. void GenerateGraduateExamPlan(int year, Guid? collegeID, int? standardID, decimal? learnSystem);
  33. void Save(ViewModel.ExaminationManage.ExaminationPlanView examinationPlanView);
  34. void SaveGdss(ViewModel.ExaminationManage.ExaminationPlanGdssView examinationPlanView, IList<Guid?> staffIDList, IList<Guid?> studentList);
  35. void Submit(IList<Guid?> examinationPlanIDList);
  36. void UnSubmit(IList<Guid?> examinationPlanIDList);
  37. IGridResultSet<StaffView> GetExaminationTeacherViewInfo(Guid? examinationRoomLayoutID);
  38. IGridResultSet<StaffView> GetExaminationTeacherViewInfoGdss(Guid? examinationPlanID);
  39. IGridResultSet<ExaminationRoomStudentView> GetExaminationStudentViewInfo(Guid? examinationRoomLayoutID);
  40. void SaveClassroomLayout(ViewModel.ExaminationManage.ExaminationRoomLayoutView examinationRoomLayoutView, IList<Guid?> staffIDList, IList<ExaminationRoomStudentView> studentList);
  41. Bowin.Common.Linq.Entity.IGridResultSet<StudentsView> GetAvailableStudentViewList(Guid examinationPlanID,
  42. Guid? collegeID, Guid? grademajorID, Guid? classmajorID, CF_StudentOrderType studentOrderType, int? pageIndex, int? pageSize);
  43. void DeleteExaminationClassroomLayout(IList<Guid> examinationRoomLayoutIDs);
  44. void AutoGenerateExaminationRoomLayout(IList<Guid?> examinationPlanIDList);
  45. void SetTime(IList<Guid?> examinationPlanIDList, DateTime? examinationDate, TimeSpan? startTime, TimeSpan? endTime);
  46. /// <summary>
  47. /// 成教版导出Excel
  48. /// </summary>
  49. /// <param name="examinationPlanView"></param>
  50. /// <param name="schoolyearID"></param>
  51. /// <param name="collegeID"></param>
  52. /// <param name="coursematerialID"></param>
  53. /// <param name="examsCategoryID"></param>
  54. /// <param name="examinationModeID"></param>
  55. /// <param name="weekNum"></param>
  56. /// <param name="statusID"></param>
  57. /// <returns></returns>
  58. List<ViewModel.ExaminationManage.AdultExaminationPlanExportView> GetAdultExaminationPlanExportViewList(ConfiguretView examinationPlanView,
  59. IList<Guid?> examinationPlanIDList,
  60. Guid? schoolyearID, Guid? collegeID, int? gradeYearID, int? standardID, Guid? coursematerialID, int? examsCategoryID, int? examinationModeID, int? examinationStyleID, int? starWeek, int? endWeek, int? courseEndWeek, int? statusID);
  61. string AdultImport(string filePath, out string returnMessage);
  62. IGridResultSet<BaseStudentView> GetExaminationPlanStudentList(Guid examinationPlanID);
  63. void AddExaminationPlan(ExaminationPlanView examinationPlanView);
  64. IGridResultSet<StudentsView> GetAddAvailableStudentViewList(Guid? collegeID, Guid? grademajorID, Guid? classmajorID, CF_StudentOrderType studentOrderType, int? pageIndex, int? pageSize);
  65. ExaminationPlanView GetExaminationPlanView(Guid? examinationPlanID);
  66. void Delete(IList<Guid> examinationPlanIDs);
  67. void ResettingExaminationPlans(List<Guid> examinationPlanIDs);
  68. void CancelExaminationPlans(List<Guid> examinationPlanIDs);
  69. void CheckStudentSchedule(Guid examinationPlanID, IList<Guid> studentUserIDList);
  70. IGridResultSet<StudentsView> GetGdssStudentListForSelect(ConfiguretView configuretView, Guid? examinationPlanID, Guid? collegeID, Guid? grademajorID, Guid? classmajorID, int pageIndex, int pageSize);
  71. //List<StudentsView> GetClashingStudentView(ExaminationPlanGdssView examinationPlanView, IList<Guid?> studentIDList);
  72. void SaveGdssNotClashingStudent(ExaminationPlanGdssView examinationPlanView, IList<Guid?> staffIDList, IList<Guid?> studentIDList);
  73. List<StudentAndCourseForExcelView> CheckBeforeGdssSave(ExaminationPlanGdssView examinationPlanView, IList<Guid?> staffIDList, IList<Guid?> studentIDList);
  74. }
  75. }