修复bug

This commit is contained in:
18942506660
2023-12-09 16:58:04 +08:00
parent 4fc45a66a0
commit 3f26c55d59

View File

@@ -211,7 +211,7 @@ namespace WMS.Web.Repositories
response.MaterialNumber = _erpBasicDataExtendService.GetMaterialNumber(materials, entity.serial.MaterialId);
response.Specifications = _erpBasicDataExtendService.GetMaterialSpecifications(materials, entity.serial.MaterialId);
if (entity.boxInventory != null)
response.IsBoxInventory = entity.boxInventory.Details.SelectMany(s => s.SerialNumbers).Where(w => serialNumber.Contains(w)).Count() >= 1 ? true : false;
response.IsBoxInventory = entity.boxInventory.Details.SelectMany(s => s.SerialNumbers).Where(w => serialNumber.Equals(w)).Count() >= 1 ? true : false;
return response;