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.
 
 
 
 
 
 

85 rivejä
2.6 KiB

  1. using Learun.Util;
  2. using System.Collections.Generic;
  3. namespace Learun.Application.Organization
  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 CompanyIBLL
  13. {
  14. #region 获取数据
  15. /// <summary>
  16. /// 获取公司列表数据
  17. /// </summary>
  18. /// <returns></returns>
  19. List<CompanyEntity> GetList();
  20. /// <summary>
  21. /// 获取公司列表数据
  22. /// </summary>
  23. /// <param name="keyWord">查询关键字</param>
  24. /// <returns></returns>
  25. List<CompanyEntity> GetList(string keyWord);
  26. /// <summary>
  27. /// 获取公司列表信息(微信用)
  28. /// </summary>
  29. /// <param name="keyWord">查询关键字</param>
  30. /// <returns></returns>
  31. List<CompanyEntity> GetWeChatList(string keyWord);
  32. /// <summary>
  33. /// 获取微信人员树形数据
  34. /// </summary>
  35. /// <param name="parentId">父级id</param>
  36. /// <returns></returns>
  37. List<TreeModel> GetWeChatTree(string parentId);
  38. /// <summary>
  39. /// 获取公司信息实体
  40. /// </summary>
  41. /// <param name="keyValue">主键</param>
  42. /// <returns></returns>
  43. CompanyEntity GetEntity(string keyValue);
  44. bool GetAny();
  45. /// <summary>
  46. /// 获取树形数据
  47. /// </summary>
  48. /// <param name="parentId">父级id</param>
  49. /// <returns></returns>
  50. List<TreeModel> GetTree(string parentId);
  51. /// <summary>
  52. /// 获取公司本身和子公司的id
  53. /// </summary>
  54. /// <param name="parentId">父级ID</param>
  55. /// <returns></returns>
  56. List<string> GetSubNodes(string parentId);
  57. /// <summary>
  58. /// 获取公司映射数据
  59. /// </summary>
  60. /// <returns></returns>
  61. Dictionary<string, CompanyModel> GetModelMap();
  62. #endregion
  63. #region 提交数据
  64. /// <summary>
  65. /// 虚拟删除公司信息
  66. /// </summary>
  67. /// <param name="keyValue">主键</param>
  68. void VirtualDelete(string keyValue);
  69. /// <summary>
  70. /// 保存公司信息(新增、修改)
  71. /// </summary>
  72. /// <param name="keyValue">主键值</param>
  73. /// <param name="companyEntity">公司实体</param>
  74. /// <returns></returns>
  75. void SaveEntity(string keyValue, CompanyEntity companyEntity);
  76. #endregion
  77. }
  78. }