IStorehouseRepository.cs 799 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Threading.Tasks;
  5. using GxPress.Common.Page;
  6. using GxPress.Entity;
  7. using GxPress.Request.Sell;
  8. using GxPress.Request.Storehouse;
  9. using GxPress.Result.Storehouse;
  10. using Datory;
  11. namespace GxPress.Repository.Interface
  12. {
  13. /// <summary>
  14. /// 仓库
  15. /// </summary>
  16. public interface IStorehouseRepository : IRepository
  17. {
  18. /// <summary>
  19. /// 添加信息
  20. /// </summary>
  21. /// <param name="storehouses"></param>
  22. /// <returns></returns>
  23. Task<bool> InsertAsync(IEnumerable<Storehouse> storehouses);
  24. Task<PagedList<Storehouse>> GetPageListAsync(PageParameter request);
  25. Task<StorehouseResult> GetStorehouseChartAsync(StorehouseRequest request);
  26. }
  27. }