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.
 
 
 
 
 
 

62 lines
2.0 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 NoticeIBLL
  13. {
  14. #region 获取数据
  15. /// <summary>
  16. /// 公告列表
  17. /// </summary>
  18. /// <param name="pagination">分页参数</param>
  19. /// <param name="keyword">关键词</param>
  20. /// <returns></returns>
  21. IEnumerable<NewsEntity> GetPageList(Pagination pagination, string keyword);
  22. IEnumerable<NewsEntity> GetPageListRevert(Pagination pagination, string keyword);
  23. /// <summary>
  24. /// 公告实体
  25. /// </summary>
  26. /// <param name="keyValue">主键值</param>
  27. /// <returns></returns>
  28. NewsEntity GetEntity(string keyValue);
  29. #endregion
  30. #region 提交数据
  31. /// <summary>
  32. /// 删除
  33. /// </summary>
  34. /// <param name="keyValue">主键</param>
  35. void DeleteEntity(string keyValue);
  36. /// <summary>
  37. /// 保存(新增、修改)
  38. /// </summary>
  39. /// <param name="keyValue">主键值</param>
  40. /// <param name="newsEntity">公告实体</param>
  41. /// <returns></returns>
  42. void SaveEntity(string keyValue, NewsEntity newsEntity);
  43. #endregion
  44. #region 扩展数据
  45. /// <summary>
  46. /// 公告列表
  47. /// </summary>
  48. /// <param name="keyword">关键词</param>
  49. /// <returns></returns>
  50. IEnumerable<NewsEntity> GetList(string keyword, string userId,string categoryId=null);
  51. #endregion
  52. void ChangeStatusById(string keyValue, int i, string processId);
  53. NewsEntity GetEntityByProcessId(string processId);
  54. void RecycleForm(string keyValue,string status);
  55. }
  56. }