|
|
|
@ -2452,6 +2452,9 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
var primaryModel = order.Adapt<MsOpSeaeEDIBaseModel>();
|
|
|
|
|
|
|
|
|
|
//起运港是CNTAO并且船公司是太平需要判断场站EDI
|
|
|
|
|
if (order.PORTLOADID == "CNTAO" && ediRouteEnum == EDIRouteEnum.PIL)
|
|
|
|
|
{
|
|
|
|
|
//场站
|
|
|
|
|
var ediYardList = _cache.GetAllMappingYard().GetAwaiter().GetResult()
|
|
|
|
|
.Where(t => t.Module.Equals(CONST_MAPPING_MODULE, StringComparison.OrdinalIgnoreCase)).ToList();
|
|
|
|
@ -2466,6 +2469,7 @@ namespace Myshipping.Application
|
|
|
|
|
primaryModel.YARDEDICODE = currYardInfo.MapCode?.Trim();
|
|
|
|
|
primaryModel.YARD = currYardInfo.MapName?.Trim();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
primaryModel.CARRIEREDICODE = ediSOSICfg.MapCode;
|
|
|
|
|
primaryModel.ORDERNO = order.BOOKINGNO;
|
|
|
|
|