ITk_GalleryDetailIService.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using Lottomat.Application.Entity.BaseManage;
  2. using Lottomat.Application.Entity.GalleryManage;
  3. using Lottomat.Application.Entity.PublicInfoManage;
  4. using Lottomat.Util.WebControl;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq.Expressions;
  8. namespace Lottomat.Application.IService.GalleryManage
  9. {
  10. /// <summary>
  11. /// 版 本 1.0
  12. /// Copyright (c) 2016-2017
  13. /// 创 建:开发者账号
  14. /// 日 期:2017-10-19 14:29
  15. /// 描 述:图库详情表
  16. /// </summary>
  17. public interface ITk_GalleryDetailIService
  18. {
  19. #region 获取数据
  20. /// <summary>
  21. /// 获取列表
  22. /// </summary>
  23. /// <param name="queryJson">查询参数</param>
  24. /// <returns>返回列表</returns>
  25. IEnumerable<Tk_GalleryDetail> GetList(string queryJson);
  26. /// <summary>
  27. /// 获取实体
  28. /// </summary>
  29. /// <param name="keyValue">主键值</param>
  30. /// <returns></returns>
  31. Tk_GalleryDetail GetEntity(string keyValue);
  32. #endregion
  33. IEnumerable<Tk_GalleryDetail> GetList(Expression<Func<Tk_GalleryDetail, bool>> condition);
  34. #region 提交数据
  35. /// <summary>
  36. /// 删除数据
  37. /// </summary>
  38. /// <param name="keyValue">主键</param>
  39. void RemoveForm(string keyValue);
  40. /// <summary>
  41. /// 保存表单(新增、修改)
  42. /// </summary>
  43. /// <param name="keyValue">主键值</param>
  44. /// <param name="entity">实体对象</param>
  45. /// <returns></returns>
  46. void SaveForm(string keyValue, Tk_GalleryDetail entity);
  47. IEnumerable<Tk_GalleryDetail> GetPageList(Pagination pagination, string queryJson);
  48. int MenuNewPeriodsNumber(string menuname);
  49. List<Tk_GalleryDetail> QueryDetailByGalleryId(List<string> galleryIds, int periodsNumber);
  50. int NewPeriodsNumber();
  51. #endregion
  52. }
  53. }