基础服务api
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.
 
 

52 lines
1.5 KiB

  1. using BPA.SAAS.Manage.Application.Org.Dtos.Company;
  2. using BPA.SAAS.Manage.Core.Base;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace BPA.SAAS.Manage.Application.Org.Interface
  9. {
  10. public interface ICompanyService
  11. {
  12. /// <summary>
  13. /// 查询企业信息
  14. /// </summary>
  15. /// <param name="input"></param>
  16. /// <returns></returns>
  17. Task<PageUtil> CompanyPage(CompanyDtoPageInput input);
  18. /// <summary>
  19. /// 添加企业信息
  20. /// </summary>
  21. /// <param name="input"></param>
  22. /// <returns></returns>
  23. Task<bool> AddCompany(CompanyDtoInput input);
  24. /// <summary>
  25. /// 修改企业信息
  26. /// </summary>
  27. /// <param name="input"></param>
  28. /// <returns></returns>
  29. Task<bool> UpdateCompany(CompanyDtoInput input);
  30. // <summary>
  31. /// 删除企业信息
  32. /// </summary>
  33. /// <param name="inputList"></param>
  34. /// <returns></returns>
  35. Task<bool> BatchDelCompany(List<string> inputList);
  36. /// <summary>
  37. /// 启用
  38. /// </summary>
  39. /// <param name="Id"></param>
  40. /// <returns></returns>
  41. Task<bool> Enable(string Id);
  42. /// <summary>
  43. /// 禁用
  44. /// </summary>
  45. /// <param name="Id"></param>
  46. /// <returns></returns>
  47. Task<bool> Disable(string Id);
  48. }
  49. }