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.

CdDeptIBLL.cs 2.2 KiB

4 years ago
4 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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="queryJson">查询参数</param>
  20. /// <returns></returns>
  21. IEnumerable<CdDeptEntity> GetPageList(Pagination pagination, string queryJson);
  22. /// <summary>
  23. /// 获取CdDept表实体数据
  24. /// <param name="keyValue">主键</param>
  25. /// <summary>
  26. /// <returns></returns>
  27. CdDeptEntity GetCdDeptEntity(string keyValue);
  28. /// <summary>
  29. /// 获取CdDept表实体数据
  30. /// <param name="deptNo">系部编号</param>
  31. /// <summary>
  32. /// <returns></returns>
  33. CdDeptEntity GetCdDeptEntityByNo(string deptNo);
  34. bool GetAny();
  35. #endregion
  36. #region 提交数据
  37. /// <summary>
  38. /// 删除实体数据
  39. /// <param name="keyValue">主键</param>
  40. /// <summary>
  41. /// <returns></returns>
  42. void DeleteEntity(string keyValue);
  43. /// <summary>
  44. /// 保存实体数据(新增、修改)
  45. /// <param name="keyValue">主键</param>
  46. /// <summary>
  47. /// <returns></returns>
  48. void SaveEntity(string keyValue, CdDeptEntity entity);
  49. #endregion
  50. IEnumerable<CdDeptEntity> GetListBySchoolId(string schoolId);
  51. IEnumerable<CdDeptEntity> GetAllList();
  52. #region 扩展数据
  53. /// <summary>
  54. /// 获取树形数据
  55. /// </summary>
  56. /// <param name="parentId">父级id</param>
  57. /// <returns></returns>
  58. List<TreeModel> GetTree(string parentId);
  59. /// <summary>
  60. /// 获取列表数据
  61. /// </summary>
  62. /// <returns></returns>
  63. List<CdDeptEntity> GetList();
  64. #endregion
  65. }
  66. }