You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.6 KiB

  1. using Learun.Util;
  2. using System.Collections.Generic;
  3. namespace Learun.Application.OA
  4. {
  5. /// <summary>
  6. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  7. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  8. /// 创建人:陈彬彬
  9. /// 日 期:2017.04.17
  10. /// 描 述:新闻管理
  11. /// </summary>
  12. public interface NewsIBLL
  13. {
  14. #region 获取数据
  15. /// <summary>
  16. /// 新闻列表
  17. /// </summary>
  18. /// <param name="pagination">分页参数</param>
  19. /// <param name="categoryId">类型</param>
  20. /// <param name="keyword">关键词</param>
  21. /// <returns></returns>
  22. IEnumerable<NewsEntity> GetPageList(Pagination pagination, string keyword);
  23. IEnumerable<NewsEntity> GetAboutSchool();
  24. IEnumerable<NewsEntity> GetNews();
  25. /// <summary>
  26. /// 新闻公告实体
  27. /// </summary>
  28. /// <param name="keyValue">主键值</param>
  29. /// <returns></returns>
  30. NewsEntity GetEntity(string keyValue);
  31. #endregion
  32. #region 提交数据
  33. /// <summary>
  34. /// 删除
  35. /// </summary>
  36. /// <param name="keyValue">主键</param>
  37. void DeleteEntity(string keyValue);
  38. /// <summary>
  39. /// 保存(新增、修改)
  40. /// </summary>
  41. /// <param name="keyValue">主键值</param>
  42. /// <param name="newsEntity">新闻公告实体</param>
  43. /// <returns></returns>
  44. void SaveEntity(string keyValue, NewsEntity newsEntity);
  45. #endregion
  46. void ChangeStatusByProcessId(string parameterProcessId, int p1);
  47. }
  48. }