ISCalendarServices.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 ISCalendarServices
  12. {
  13. /// <summary>
  14. /// 查询校历信息
  15. /// </summary>
  16. /// <param name="configuretView">查询条件实体</param>
  17. /// <param name="activitiesType">活动类型</param>
  18. /// <param name="timesSegment">时间段</param>
  19. /// <param name="pageIndex">页码</param>
  20. /// <param name="pageSize">显示页数</param>
  21. /// <returns></returns>
  22. IGridResultSet<SCalendarView> GetSCalendarViewGrid(ConfiguretView configuretView, int? activitiesType, int? timesSegment, int pageIndex, int pageSize);
  23. /// <summary>
  24. /// 查询校历信息
  25. /// </summary>
  26. /// <param name="configuretView">查询条件实体</param>
  27. /// <param name="activitiesType">活动类型</param>
  28. /// <param name="timesSegment">时间段</param>
  29. /// <returns></returns>
  30. List<SCalendarView> GetSCalendarViewList(ConfiguretView configuretView, int? activitiesType, int? timesSegment);
  31. /// <summary>
  32. /// 获取校历信息
  33. /// </summary>
  34. /// <param name="activitiesID">主键ID</param>
  35. /// <returns></returns>
  36. CF_SCalendar GetSCalendar(Guid? activitiesID);
  37. /// <summary>
  38. /// 获取校历信息
  39. /// </summary>
  40. /// <param name="Name">活动名称</param>
  41. /// <returns></returns>
  42. CF_SCalendar GetSCalendar(string Name);
  43. /// <summary>
  44. /// 获取校历信息
  45. /// </summary>
  46. /// <param name="activitiesID">主键ID</param>
  47. /// <returns></returns>
  48. SCalendarView GetSCalendarView(Guid? activitiesID);
  49. /// <summary>
  50. /// 添加
  51. /// </summary>
  52. /// <param name="scalendar">实体</param>
  53. /// <returns></returns>
  54. bool SCalendarAdd(SCalendarView scalendarView);
  55. /// <summary>
  56. /// 修改
  57. /// </summary>
  58. /// <param name="scalendar">实体</param>
  59. /// <returns></returns>
  60. bool SCalendarUpdate(SCalendarView scalendarView);
  61. /// <summary>
  62. /// 删除
  63. /// </summary>
  64. /// <param name="activitiesIDs"></param>
  65. /// <returns></returns>
  66. bool SCalendarDelete(List<Guid> activitiesIDs);
  67. }
  68. }