库存-添加-组织维度
This commit is contained in:
@@ -175,11 +175,13 @@ namespace WMS.Web.Repositories
|
||||
/// <param name="materialIds"></param>
|
||||
/// <param name="stockCodes"></param>
|
||||
/// <param name="subStockIds"></param>
|
||||
/// <param name="orgCodes"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<List<InventoryDetails>> GetListBy(List<int> materialIds, List<string> stockCodes, List<int> subStockIds)
|
||||
public async Task<List<InventoryDetails>> GetListBy(List<int> materialIds, List<string> stockCodes, List<int> subStockIds, List<string> orgCodes)
|
||||
{
|
||||
return await _context.InventoryDetails.Where(x => materialIds.Contains(x.MaterialId) &&
|
||||
stockCodes.Contains(x.StockCode) &&
|
||||
orgCodes.Contains(x.OrgCode) &&
|
||||
subStockIds.Contains(x.SubStockId) ).ToListAsync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user