ISystemService.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using IoTIntegrationPlatform.Model.common;
  2. using IoTIntegrationPlatform.Model.Model;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace IoTIntegrationPlatform.Interface
  9. {
  10. public interface ISystemService
  11. {
  12. /// <summary>
  13. /// 获取客户信息
  14. /// </summary>
  15. /// <param name="customerId"></param>
  16. /// <param name="name"></param>
  17. /// <param name="code"></param>
  18. /// <param name="account"></param>
  19. /// <returns></returns>
  20. CustomerInfo GetCustomerInfo(int customerId, string name, string code, string account);
  21. /// <summary>
  22. /// 获取客户列表
  23. /// </summary>
  24. /// <param name="parm"></param>
  25. /// <param name="page"></param>
  26. /// <returns></returns>
  27. List<CustomerInfo> GetCustomerList(BaseParm parm, ref int page);
  28. /// <summary>
  29. /// 添加客户信息
  30. /// </summary>
  31. /// <param name="model"></param>
  32. /// <returns></returns>
  33. bool AddCustomer(CustomerInfo model);
  34. /// <summary>
  35. /// 编辑客户
  36. /// </summary>
  37. /// <param name="model"></param>
  38. /// <returns></returns>
  39. bool UpdatedCustomer(CustomerInfo model);
  40. /// <summary>
  41. /// 修改客户密码
  42. /// </summary>
  43. /// <param name="model"></param>
  44. /// <returns></returns>
  45. bool UpdateCustomerPassWord(CustomerInfo model);
  46. /// <summary>
  47. /// 删除客户
  48. /// </summary>
  49. /// <param name="parm"></param>
  50. /// <returns></returns>
  51. bool DeleteCustomer(BaseParm parm);
  52. }
  53. }