Files
WMS-Api/src/WMS.Web.Domain/Infrastructure/IInventoryInOutDetailsRepositories.cs
2023-10-31 11:47:48 +08:00

32 lines
940 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WMS.Web.Core.Dto.Inventory;
using WMS.Web.Core.Internal.Results;
using WMS.Web.Domain.Entitys;
namespace WMS.Web.Domain.Infrastructure
{
/// <summary>
/// 物料收发明细-仓储接口
/// </summary>
public interface IInventoryInOutDetailsRepositories
{
/// <summary>
/// 列表-分页
/// </summary>
/// <param name="dto"></param>
/// <returns></returns>
Task<ResultPagedList<InventoryInOutDetailsQueryResponse>> GetPagedList(InventoryInOutDetailsQueryRequest dto);
/// <summary>
/// 批量添加
/// </summary>
/// <param name="entitys"></param>
/// <param name="isTransaction"></param>
/// <returns></returns>
Task<bool> AddRange(List<InventoryInOutDetails> entitys, bool isTransaction = true);
}
}