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.
 
 
 
 
 
 

67 lines
2.0 KiB

  1. using Learun.Util;
  2. using System.Data;
  3. using System.Collections.Generic;
  4. namespace Learun.Application.TwoDevelopment.EducationalAdministration
  5. {
  6. /// <summary>
  7. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  8. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  9. /// 创 建:超级管理员
  10. /// 日 期:2019-01-22 10:53
  11. /// 描 述:系部信息管理
  12. /// </summary>
  13. public interface CdDeptIBLL
  14. {
  15. #region 获取数据
  16. /// <summary>
  17. /// 获取树形数据
  18. /// </summary>
  19. /// <param name="parentId">父级id</param>
  20. /// <returns></returns>
  21. List<TreeModel> GetTree(string parentId);
  22. /// <summary>
  23. /// 获取页面显示列表数据
  24. /// <summary>
  25. /// <param name="queryJson">查询参数</param>
  26. /// <returns></returns>
  27. IEnumerable<CdDeptEntity> GetPageList(Pagination pagination, string queryJson);
  28. /// <summary>
  29. /// 获取CdDept表实体数据
  30. /// <param name="keyValue">主键</param>
  31. /// <summary>
  32. /// <returns></returns>
  33. CdDeptEntity GetCdDeptEntity(string keyValue);
  34. /// <summary>
  35. /// 获取CdDept表实体数据
  36. /// <param name="deptNo">系部编号</param>
  37. /// <summary>
  38. /// <returns></returns>
  39. CdDeptEntity GetCdDeptEntityByNo(string deptNo);
  40. bool GetAny();
  41. #endregion
  42. #region 提交数据
  43. /// <summary>
  44. /// 删除实体数据
  45. /// <param name="keyValue">主键</param>
  46. /// <summary>
  47. /// <returns></returns>
  48. void DeleteEntity(string keyValue);
  49. /// <summary>
  50. /// 保存实体数据(新增、修改)
  51. /// <param name="keyValue">主键</param>
  52. /// <summary>
  53. /// <returns></returns>
  54. void SaveEntity(string keyValue, CdDeptEntity entity);
  55. #endregion
  56. IEnumerable<CdDeptEntity> GetListBySchoolId(string schoolId);
  57. IEnumerable<CdDeptEntity> GetAllList();
  58. }
  59. }