修改MSK API合约订舱,航行明细里有非港口的,不传航运信息

master
jianghaiqing 4 months ago
parent 33027d7668
commit 834a13524d

@ -669,6 +669,8 @@ namespace Myshipping.Application.Service.BookingOrder
throw Oops.Bah($"查询船期错误pid={model.PId} 预计到港日期arrivalDateTime 格式解析错误");
}
if(detail.transport.vessel != null)
{
currDto.transportMode = new MSKAPIBookingTransportMode
{
vessel = new MSKAPIBookingTransportModeVessel
@ -679,6 +681,7 @@ namespace Myshipping.Application.Service.BookingOrder
},
exportVoyageNumber = detail.transport.carrierDepartureVoyageNumber,
};
}
currDto.serviceCode = detail.transport.carrierServiceCode;
currDto.transportModeCode = detail.transport.transportMode;

Loading…
Cancel
Save