This commit is contained in:
tongfei
2024-01-05 16:37:22 +08:00
parent c02207d263
commit d78777d93c

View File

@@ -1156,11 +1156,6 @@ namespace WMS.Web.Domain.Services
var update_entitys = new List<BoxInventory>(); var update_entitys = new List<BoxInventory>();
var InventoryDetailsGenerateDto = new List<InventoryDetailsGenerateDto>(); var InventoryDetailsGenerateDto = new List<InventoryDetailsGenerateDto>();
//var serNubs = dtoDatas.SelectMany(x => x.Details).SelectMany(x => x.SerialNumbers).ToList();
//var serialNumbers = await _serialNumbersRepositories.GetEntityList(serNubs);
//var out_serNubs = new List<SerialNumbers>();
//2.获取“箱库存集合” //2.获取“箱库存集合”
var boxIds = dtoDatas.GroupBy(x => x.BoxId).Select(x => x.Key).ToList(); var boxIds = dtoDatas.GroupBy(x => x.BoxId).Select(x => x.Key).ToList();
var boxInventorys = await _boxInventoryRepositories.GetList(boxIds); var boxInventorys = await _boxInventoryRepositories.GetList(boxIds);