IActivitieServices.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 IActivitieServices
  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<ActivitieView> GetActivitieViewGrid(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<ActivitieView> GetActivitieViewList(ConfiguretView configuretView, int? activitiesType, int? timesSegment);
  31. /// <summary>
  32. /// 获取固定活动信息
  33. /// </summary>
  34. /// <param name="activitiesID">主键ID</param>
  35. /// <returns></returns>
  36. CF_ActivitiesSets GetActivitie(Guid? activitiesID);
  37. /// <summary>
  38. /// 获取固定活动信息
  39. /// </summary>
  40. /// <param name="Name">活动名称</param>
  41. /// <returns></returns>
  42. CF_ActivitiesSets GetActivitie(string Name);
  43. /// <summary>
  44. /// 获取固定活动信息
  45. /// </summary>
  46. /// <param name="activitiesID">主键ID</param>
  47. /// <returns></returns>
  48. ActivitieView GetActivitieView(Guid? activitiesID);
  49. /// <summary>
  50. /// 添加
  51. /// </summary>
  52. /// <param name="activitiesSets">实体</param>
  53. /// <returns></returns>
  54. bool ActivitiesAdd(ActivitieView activitieView);
  55. /// <summary>
  56. /// 修改
  57. /// </summary>
  58. /// <param name="activitiesSets">实体</param>
  59. /// <returns></returns>
  60. bool ActivitiesUpdate(ActivitieView activitieView);
  61. /// <summary>
  62. /// 删除
  63. /// </summary>
  64. /// <param name="activitiesIDs"></param>
  65. /// <returns></returns>
  66. bool ActivitiesDelete(List<Guid> activitiesIDs);
  67. }
  68. }