箱库存-列表接口

This commit is contained in:
tongfei
2023-10-31 15:05:24 +08:00
parent 68f70fa820
commit 1eafbc8503
9 changed files with 413 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
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 IBoxInventoryRepositories
{
/// <summary>
/// 列表-查询
/// </summary>
/// <param name="dto"></param>
/// <returns></returns>
Task<ResultPagedList<BoxInventoryQueryResponse>> GetPagedList(BoxInventoryQueryRequest dto);
/// <summary>
/// 批量添加
/// </summary>
/// <param name="entitys"></param>
/// <param name="isTransaction"></param>
/// <returns></returns>
Task<bool> AddRange(List<BoxInventory> entitys, bool isTransaction = true);
/// <summary>
/// 批量修改
/// </summary>
/// <param name="entitys"></param>
/// <param name="isTransaction"></param>
/// <returns></returns>
Task<bool> UpdateRange(List<BoxInventory> entitys, bool isTransaction = true);
}
}