优化
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user