32 lines
858 B
C#
32 lines
858 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using WMS.Web.Core.Dto;
|
|
using WMS.Web.Core.Internal.Results;
|
|
using WMS.Web.Domain.Entitys;
|
|
|
|
namespace WMS.Web.Domain.Infrastructure
|
|
{
|
|
/// <summary>
|
|
/// wms入库单-仓储接口
|
|
/// </summary>
|
|
public interface IInStockRepositories
|
|
{
|
|
/// <summary>
|
|
/// 列表-分页
|
|
/// </summary>
|
|
/// <param name="dto"></param>
|
|
/// <returns></returns>
|
|
Task<(List<InStockQueryResponse> list,int total)> GetPagedList(InStockQueryRequest dto);
|
|
|
|
/// <summary>
|
|
/// 添加
|
|
/// </summary>
|
|
/// <param name="entity"></param>
|
|
/// <param name="isTransaction"></param>
|
|
/// <returns></returns>
|
|
Task<InStock> Add(InStock entity, bool isTransaction = true);
|
|
}
|
|
}
|