修复bug
This commit is contained in:
@@ -203,7 +203,7 @@ namespace WMS.Web.Repositories
|
|||||||
.FirstOrDefaultAsync(w => serialNumber.Equals(w.serial.SerialNumber));
|
.FirstOrDefaultAsync(w => serialNumber.Equals(w.serial.SerialNumber));
|
||||||
if (entity == null || entity.serial == null) return null;
|
if (entity == null || entity.serial == null) return null;
|
||||||
response.BoxId = entity.serial.BoxId;
|
response.BoxId = entity.serial.BoxId;
|
||||||
response.BoxBillNo = entity.box.BoxBillNo;
|
response.BoxBillNo = entity?.box?.BoxBillNo ?? "";
|
||||||
response.SubStockId = entity?.boxInventory?.SubStockId ?? 0;
|
response.SubStockId = entity?.boxInventory?.SubStockId ?? 0;
|
||||||
response.SerialNumber = entity.serial.SerialNumber;
|
response.SerialNumber = entity.serial.SerialNumber;
|
||||||
response.MaterialId = entity.serial.MaterialId;
|
response.MaterialId = entity.serial.MaterialId;
|
||||||
|
|||||||
Reference in New Issue
Block a user