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

64 lines
2.0 KiB

  1. using BPA.SAAS.Manage.Application.DataBase.Dtos.GoodsEnergyConfig;
  2. using BPA.SAAS.Manage.Core.Base;
  3. using BPA.SAAS.Manage.Core.DataBase;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPA.SAAS.Manage.Application.DataBase.Interface
  10. {
  11. public interface IGoodsEnergyConfigService
  12. {
  13. /// <summary>
  14. /// 分页查询
  15. /// </summary>
  16. /// <param name="dto"></param>
  17. /// <returns></returns>
  18. Task<PageUtil> GetGoodsEnergyConfigPage(GoodsEnergyConfigQueryDto dto);
  19. /// <summary>
  20. /// 添加
  21. /// </summary>
  22. /// <param name="dto"></param>
  23. /// <returns></returns>
  24. Task<bool> AddGoodsEnergyConfig(GoodsEnergyConfigDto dto);
  25. /// <summary>
  26. /// 更新
  27. /// </summary>
  28. /// <param name="dto"></param>
  29. /// <returns></returns>
  30. Task<bool> UpdateGoodsEnergyConfig(GoodsEnergyConfigDto dto);
  31. /// <summary>
  32. /// 删除
  33. /// </summary>
  34. /// <param name="Id"></param>
  35. /// <returns></returns>
  36. Task<bool> DelGoodsEnergyConfig(string Id);
  37. /// <summary>
  38. /// 查询详情
  39. /// </summary>
  40. /// <param name="goodsenergyconfigId"></param>
  41. /// <returns></returns>
  42. Task<List<GoodsEnergyConfigDetailsViewDto>> GetGoodsEnergyConfigDetailsList(string goodsenergyconfigId);
  43. /// <summary>
  44. /// 添加
  45. /// </summary>
  46. /// <param name="dto"></param>
  47. /// <returns></returns>
  48. Task<bool> AddGoodsEnergyConfigDetails(GoodsEnergyConfigDetailsDto dto);
  49. /// <summary>
  50. /// 更新
  51. /// </summary>
  52. /// <param name="dto"></param>
  53. /// <returns></returns>
  54. Task<bool> UpdateGoodsEnergyConfigDetails(GoodsEnergyConfigDetailsDto dto);
  55. /// <summary>
  56. /// 删除
  57. /// </summary>
  58. /// <param name="Id"></param>
  59. /// <returns></returns>
  60. Task<bool> DelGoodsEnergyConfigDetails(string Id);
  61. }
  62. }