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.
 
 
 
 
 
 

58 lines
1.7 KiB

  1. using Learun.Util;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Learun.Application.OA.Schedule
  8. {
  9. /// <summary>
  10. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  11. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  12. /// 创建人:陈彬彬
  13. /// 日 期:2017.07.11
  14. /// 描 述:日程管理
  15. /// </summary>
  16. public interface ScheduleIBLL
  17. {
  18. #region 获取数据
  19. /// <summary>
  20. /// 获取页面显示列表分页数据
  21. /// <summary>
  22. /// <param name="pagination">分页参数</param>
  23. /// <param name="queryJson">查询参数</param>
  24. /// <returns></returns>
  25. IEnumerable<ScheduleEntity> GetPageListByUserId(Pagination pagination, string queryJson, string userId);
  26. /// <summary>
  27. /// 获取列表
  28. /// </summary>
  29. /// <returns>返回列表</returns>
  30. IEnumerable<ScheduleEntity> GetList();
  31. /// <summary>
  32. /// 获取实体
  33. /// </summary>
  34. /// <param name="keyValue">主键值</param>
  35. /// <returns></returns>
  36. ScheduleEntity GetEntity(string keyValue);
  37. #endregion
  38. #region 提交数据
  39. /// <summary>
  40. /// 删除数据
  41. /// </summary>
  42. /// <param name="keyValue">主键</param>
  43. void RemoveForm(string keyValue);
  44. /// <summary>
  45. /// 保存表单(新增、修改)
  46. /// </summary>
  47. /// <param name="keyValue">主键值</param>
  48. /// <param name="entity">实体对象</param>
  49. /// <returns></returns>
  50. void SaveForm(string keyValue, ScheduleEntity entity);
  51. #endregion
  52. }
  53. }