diff --git a/Myshipping.Application/Service/BookingOrder/BookingMSKAPIService.cs b/Myshipping.Application/Service/BookingOrder/BookingMSKAPIService.cs index 0f95f7ca..01e3988b 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingMSKAPIService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingMSKAPIService.cs @@ -995,6 +995,8 @@ namespace Myshipping.Application.Service.BookingOrder string ctnStat = string.Empty; + _logger.LogInformation($"获取请求马士基API订舱报文,JSON={JSON.Serialize(model)}"); + if (model.ctns != null && model.ctns.Count > 0) { ctnStat = string.Join(",", model.ctns.GroupBy(a => a.ctnCode) @@ -1005,6 +1007,7 @@ namespace Myshipping.Application.Service.BookingOrder { BookingDeliveryRecord entity = model.Adapt(); + entity.Id = model.id.Value; entity.UpdatedTime = nowDate; entity.UpdatedUserId = UserManager.UserId; entity.UpdatedUserName = UserManager.Name; @@ -1040,6 +1043,7 @@ namespace Myshipping.Application.Service.BookingOrder var ctnEntity = ctn.Adapt(); ctnEntity.Id = ctn.id.Value; + ctnEntity.RECORD_ID = entity.Id; ctnEntity.UpdatedTime = nowDate; ctnEntity.UpdatedUserId = UserManager.UserId; ctnEntity.UpdatedUserName = UserManager.Name;