diff --git a/Myshipping.Application/Event/BookingSyncSubscriber.cs b/Myshipping.Application/Event/BookingSyncSubscriber.cs index a0d0cb82..f2e8b444 100644 --- a/Myshipping.Application/Event/BookingSyncSubscriber.cs +++ b/Myshipping.Application/Event/BookingSyncSubscriber.cs @@ -492,7 +492,7 @@ namespace Myshipping.Application.Event //生成id并插入客户订舱数据 custOrder.Id = YitIdHelper.NextId(); custOrder.BOOKINGNO = item.GetStringValue("BookingNO"); - custOrder.BSNO = item.GetStringValue("CustOrderId"); + custOrder.BSNO = item.GetStringValue("custOrderId"); custOrder.ParentBookingNO = parentBookingNO; JObject jobjExt = null; if (!string.IsNullOrEmpty(custOrder.ExtendData)) @@ -505,6 +505,7 @@ namespace Myshipping.Application.Event } jobjExt["CustNO"] = item.GetStringValue("CustNO"); + custOrder.ExtendData = jobjExt.ToString(); await repoCutomerOrder.InsertAsync(custOrder);