ICoursesTimeServices.cs 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.CalendarManage;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. namespace EMIS.CommonLogic.CalendarManage
  10. {
  11. public interface ICoursesTimeServices
  12. {
  13. /// <summary>
  14. /// 查询课程时间信息
  15. /// </summary>
  16. /// <param name="configuretView">查询条件实体</param>
  17. /// <param name="timesSegment">时间段</param>
  18. /// <param name="pageIndex">页码</param>
  19. /// <param name="pageSize">显示页数</param>
  20. /// <returns></returns>
  21. IGridResultSet<CoursesTimeView> GetCoursesTimeViewGrid(ConfiguretView configuretView, int? timesSegment, int pageIndex, int pageSize);
  22. /// <summary>
  23. /// 查询课程时间信息
  24. /// </summary>
  25. /// <param name="configuretView">查询条件实体</param>
  26. /// <param name="timesSegment">时间段</param>
  27. /// <returns></returns>
  28. List<CoursesTimeView> GetCoursesTimeViewList(ConfiguretView configuretView, int? timesSegment);
  29. /// <summary>
  30. /// 查询未来时间的课程时间列表
  31. /// </summary>
  32. /// <param name="weekNum">指定的周次</param>
  33. /// <param name="weekday">指定的星期</param>
  34. /// <returns></returns>
  35. List<CoursesTimeView> GetCoursesTimeViewFutureList(List<Guid?> educationSchedulingWeekNumIDList, int? weekNum, int? weekday);
  36. /// <summary>
  37. /// 获取课程时间信息
  38. /// </summary>
  39. /// <param name="coursesTimeID">主键ID</param>
  40. /// <returns></returns>
  41. EM_CoursesTime GetCoursesTime(Guid? coursesTimeID);
  42. /// <summary>
  43. /// 获取下一堂课的课程时间信息
  44. /// </summary>
  45. /// <param name="coursesTimeID">主键ID</param>
  46. /// <returns></returns>
  47. CoursesTimeView GetNextCoursesTime(Guid? coursesTimeID);
  48. /// <summary>
  49. /// 获取课程时间信息
  50. /// </summary>
  51. /// <param name="coursesTimeID">主键ID</param>
  52. /// <returns></returns>
  53. CoursesTimeView GetCoursesTimeView(Guid? coursesTimeID);
  54. /// <summary>
  55. /// 添加
  56. /// </summary>
  57. /// <param name="coursesTime">实体</param>
  58. /// <returns></returns>
  59. bool CoursesTimeAdd(CoursesTimeView coursesTimeView);
  60. /// <summary>
  61. /// 修改
  62. /// </summary>
  63. /// <param name="coursesTime">实体</param>
  64. /// <returns></returns>
  65. bool CoursesTimeUpdate(CoursesTimeView coursesTimeView);
  66. /// <summary>
  67. /// 删除
  68. /// </summary>
  69. /// <param name="coursesTimeIDs"></param>
  70. /// <returns></returns>
  71. bool CoursesTimeDelete(List<Guid> coursesTimeIDs);
  72. }
  73. }