diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotService.cs index 62a053d8..ec1e56c9 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotService.cs @@ -2855,7 +2855,7 @@ namespace DS.WMS.Core.Op.Method { Logger.Log(NLog.LogLevel.Info, $"引入失败,原因:{ex.Message}"); - return DataResult.Failed("引入失败,原因:{ex.me}"); + return DataResult.Failed($"引入失败,原因:{ex.Message}"); } finally { diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotStockService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotStockService.cs index 17f9f80c..847c4065 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotStockService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotStockService.cs @@ -115,6 +115,9 @@ namespace DS.WMS.Core.Op.Method stockObj.Id = (long)idTemp; } + stockObj.PortLoadId = baseList[0].PortLoadCode; + stockObj.PortDischargeId = baseList[0].PortDischargeCode; + // 总舱位数 stockObj.TotalOrders = baseList.Count;