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.
 
 
 
 
 
 

57 lines
1.7 KiB

  1. using Learun.Util;
  2. using System.Data;
  3. using System.Collections.Generic;
  4. namespace Learun.Application.Base.CodeSchemaModule
  5. {
  6. /// <summary>
  7. /// 版 本 Learun-ADMS V7.0.3 力软敏捷开发框架
  8. /// Copyright (c) 2013-2018 上海力软信息技术有限公司
  9. /// 创 建:超级管理员
  10. /// 日 期:2019-03-01 11:09
  11. /// 描 述:代码模板
  12. /// </summary>
  13. public interface CodeSchemaIBLL
  14. {
  15. #region 获取数据
  16. /// <summary>
  17. /// 获取页面显示列表数据
  18. /// </summary>
  19. /// <param name="pagination">分页参数</param>
  20. /// <param name="queryJson">查询参数</param>
  21. /// <returns></returns>
  22. IEnumerable<LR_Base_CodeSchemaEntity> GetPageList(Pagination pagination, string queryJson);
  23. /// <summary>
  24. /// 获取LR_Base_CodeSchema表实体数据
  25. /// </summary>
  26. /// <param name="keyValue">主键</param>
  27. /// <returns></returns>
  28. LR_Base_CodeSchemaEntity GetLR_Base_CodeSchemaEntity(string keyValue);
  29. /// <summary>
  30. /// 获取左侧树形数据
  31. /// </summary>
  32. /// <returns></returns>
  33. List<TreeModel> GetTree();
  34. #endregion
  35. #region 提交数据
  36. /// <summary>
  37. /// 删除实体数据
  38. /// </summary>
  39. /// <param name="keyValue">主键</param>
  40. /// <returns></returns>
  41. void DeleteEntity(string keyValue);
  42. /// <summary>
  43. /// 保存实体数据(新增、修改)
  44. /// </summary>
  45. /// <param name="keyValue">主键</param>
  46. /// <param name="entity">实体</param>
  47. /// <returns></returns>
  48. void SaveEntity(string keyValue, LR_Base_CodeSchemaEntity entity);
  49. #endregion
  50. }
  51. }