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);
|
}
|
}
|