@ -836,8 +836,10 @@ public partial class SeaExportService : ISeaExportService
{
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
SeaExportOrderExtension model = new SeaExportOrderExtension();
SeaExportOrderExtension model = new SeaExportOrderExtension
otherOrderList = new List<SeaExportOrderExtensionSubInfo>()
};
/*
1、先用主提单号检索,如果没有取到结果,再用订舱编号检索。
2、是拆票的,找到主票和其他分票,并返回当前订单的完整详情。
@ -181,7 +181,7 @@ namespace DS.WMS.Core.TaskPlat.Method
List<long> orderIdList = new List<long> { orderInfo.currOrder.Id };
if (orderInfo.otherOrderList.Count > 0)
if (orderInfo.otherOrderList != null && orderInfo.otherOrderList.Count > 0)
orderIdList.AddRange(orderInfo.otherOrderList.Select(t => t.Id).ToList());
//如果是拆票需要处理,处理所以分票记录