IExecutableFreeSelectionCouseServices.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.SelectCourse;
  7. using EMIS.Entities;
  8. using EMIS.ViewModel.EnrollManage.SpecialtyManage;
  9. using EMIS.ViewModel;
  10. using EMIS.ViewModel.UniversityManage.ClassroomManage;
  11. namespace EMIS.CommonLogic.SelectCourse
  12. {
  13. public interface IExecutableFreeSelectionCouseServices
  14. {
  15. IGridResultSet<ExecutableFreeSelectionCouseView> GetExecutableFreeSelectionCouseViewGrid(ConfiguretView configuretView,
  16. Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? Status, int? isOpened, int pageIndex, int pageSize);
  17. List<ExecutableFreeSelectionCouseView> GetExecutableFreeSelectionCouseViewList(ConfiguretView configuretView,
  18. Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? Status, int? isOpened);
  19. EM_FreeSelectionCouseTeachingSetting GetFreeSelectionCourseTeachingSetting(Guid? freeSelectionCourseID);
  20. List<int> GetCourseTeachingModeType(Guid? ExecutableFreeSelectionCouseID);
  21. List<int> GetCourseGradeYear(Guid? ExecutableFreeSelectionCouseID);
  22. ExecutableFreeSelectionCouseView GetExecutableFreeSelectionCouseView(Guid? ExecutableFreeSelectionCouseID);
  23. EM_ExecutableFreeSelectionCouse GetExecutableFreeSelectionCouse(Guid? ExecutableFreeSelectionCouseID);
  24. bool ExecutableFreeSelectionCouseAdd(ExecutableFreeSelectionCouseView ExecutableFreeSelectionCouse, IList<ExecutableFreeSelectionCouseTeacherListView> teacherList, IList<ExecutableFreeSelectionCouseSpecialtyListView> specialtyList, IList<ExecutableFreeSelectionCouseSchedulingView> schedulingList, out int? type);
  25. bool ExecutableFreeSelectionCouseUpdate(ExecutableFreeSelectionCouseView ExecutableFreeSelectionCouse, IList<ExecutableFreeSelectionCouseTeacherListView> teacherList, IList<ExecutableFreeSelectionCouseSpecialtyListView> specialtyList, IList<ExecutableFreeSelectionCouseSchedulingView> schedulingList, out int? type);
  26. bool ExecutableFreeSelectionCouseUpdate(ExecutableFreeSelectionCouseView ExecutableFreeSelectionCouse, IList<ExecutableFreeSelectionCouseTeacherListView> teacherList);
  27. bool ExecutableFreeSelectionCouseOpen(List<Guid?> ExecutableFreeSelectionCouseIDs);
  28. bool ExecutableFreeSelectionCouseCancel(List<Guid?> ExecutableFreeSelectionCouseIDs);
  29. bool ExecutableFreeSelectionCouseDelete(List<Guid?> ExecutableFreeSelectionCouseIDs);
  30. bool ExecutableFreeSelectionCouseSubmit(List<Guid> ExecutableFreeSelectionCouseIDs);
  31. List<ExecutableFreeSelectionCouseTeacherListView> GetExecutableFreeSelectionCouseTeacherListView(Guid ExecutableFreeSelectionCouseID);
  32. List<SpecialtyView> GetExecutableFreeSelectionCouseSpecialtyListView(Guid ExecutableFreeSelectionCouseID);
  33. string DefaultClassNo(Guid SchoolyearID, Guid freeSelectionCourseID, string StartWeeklyNum, string EndWeeklyNum);
  34. void SaveTeachers(Guid executableFreeSelectionCouseID, IList<ExecutableFreeSelectionCouseTeacherListView> teacherList);
  35. IGridResultSet<ClassroomView> GetAvailableClassroom(ConfiguretView configuretView, Guid? buildingID,
  36. string schedulingWeek,
  37. int? weekday, Guid courseTimeID, int? classroomTypeID, int? pageIndex, int? pageSize);
  38. List<ExecutableFreeSelectionCouseSchedulingView> GetSchedulingView(Guid ExecutableFreeSelectionCouseID);
  39. }
  40. }