master
wanghaomei 5 months ago
parent 1054920e1c
commit 91016b26b9

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

Loading…
Cancel
Save