WYB
2021-03-22 91b8cdad021ab052e4991f3d41834a6f0ddc36b8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using JiepeiWMS.IServices.BASE;
using JiepeiWMS.Model;
using JiepeiWMS.Model.Models;
using System;
using System.Threading.Tasks;
 
namespace JiepeiWMS.IServices
{
    /// <summary>
    /// IWMStockLogServices
    /// </summary>    
    public interface IWMStockLogServices : IBaseServices<WMStockLog>
    {
        /// <summary>
        /// 获取库存流水日志分页
        /// </summary>
        /// <returns></returns>
        Task<PageModel<WMStockLog>> GetWMStockLogPage(int page, int intPageSize, string key = "", string typeoptions = "", string warehouseoptions = "", DateTime? startdate = null, DateTime? enddate = null);
 
 
        /// <summary>
        /// 获取最近几天得库存
        /// </summary>
        /// <param name="ProductListId">商品列表id</param>
        /// <param name="Id">商品id</param>
        /// <param name="Day">天数</param>
        /// <param name="Type">库存流水类型</param>
        /// <returns></returns>
        Task<decimal> GetStockNumByDateDay(int ProductListId, int Id, int Day, int Type);
    }
}