This commit is contained in:
tongfei
2023-11-01 09:20:02 +08:00
17 changed files with 319 additions and 136 deletions

View File

@@ -12,8 +12,10 @@ namespace WMS.Web.Domain.Infrastructure
/// </summary>
public interface IBoxRepositories
{
Task<Box> Get(string BoxBillNo);
//根据箱号查询物料信息
Task<List<BoxDetailResponse>> GetDetails(string BoxBillNo);
Task<Box> Get(int id);
//根据箱号查询明细信息
Task<BoxResponse> GetBox(string BoxBillNo);
//批量修改
Task<bool> EditEntityList(List<Box> entitys, bool isTransaction = true);
}
}

View File

@@ -12,6 +12,8 @@ namespace WMS.Web.Domain.Infrastructure
{
// 新增
Task<ChangeBoxRecord> Add(ChangeBoxRecord entity, bool isTransaction = true);
// 批量新增
Task<bool> AddRange(List<ChangeBoxRecord> list, bool isTransaction = true);
// 获取列表
Task<(List<ChangeBoxRecordQueryInfoResponse> list,int total)> GetListAsync(ChangeBoxRecordQueryRequest dto);