生成-物料收发明细
This commit is contained in:
@@ -293,6 +293,8 @@ namespace WMS.Web.Repositories.DependencyInjection
|
||||
Services.AddTransient<IOutStockTaskService, OutStockTaskService>();
|
||||
Services.AddTransient<ISerialNumberService, SerialNumberService>();
|
||||
Services.AddTransient<IBoxInventoryService, BoxInventoryService>();
|
||||
Services.AddTransient<IInventoryInOutDetailsService, InventoryInOutDetailsService>();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -168,5 +168,19 @@ namespace WMS.Web.Repositories
|
||||
{
|
||||
return await GetPagedList(dto);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 列表-根据物料和仓库和仓位
|
||||
/// </summary>
|
||||
/// <param name="materialIds"></param>
|
||||
/// <param name="stockCodes"></param>
|
||||
/// <param name="subStockIds"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<List<InventoryDetails>> GetListBy(List<int> materialIds, List<string> stockCodes, List<int> subStockIds)
|
||||
{
|
||||
return await _context.InventoryDetails.Where(x => materialIds.Contains(x.MaterialId) &&
|
||||
stockCodes.Contains(x.StockCode) &&
|
||||
subStockIds.Contains(x.SubStockId) ).ToListAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user