diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 8507806f..0460b71e 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -118,7 +118,6 @@ namespace Myshipping.Application private readonly SqlSugarRepository _bookingTemplate; private readonly SqlSugarRepository _paraGoodsInfoRepository; private readonly SqlSugarRepository _paraContractNoInfoRepository; - private readonly IHttpContextAccessor _httpContextAccessor; private readonly IBookingGoodsStatusConfigService _GoodsConfig; const string CONST_MAPPING_MODULE = "BOOK_OR_CLOSING"; @@ -5454,6 +5453,11 @@ namespace Myshipping.Application var ctnDetailInputs = await _ctndetailrep.AsQueryable().Filter(null, true).Where(x => x.CTNID == it.Id ).ToListAsync(); it.ctnDetailInputs = ctnDetailInputs.Adapt>(); } + var BookingLetteryard = await _repLetterYard.AsQueryable().Filter(null, true).Where(x => x.BookingId == item.Id).FirstAsync(); + if (BookingLetteryard != null) + { + item.BookingLetteryard = BookingLetteryard; + } var BookingEDIExt = await _bookingEDIExt.AsQueryable().Filter(null, true).Where(x => x.BookingId == item.Id ).FirstAsync(); if (BookingEDIExt != null) { diff --git a/Myshipping.Application/Service/DataSync/Dto/BookingOrderDto.cs b/Myshipping.Application/Service/DataSync/Dto/BookingOrderDto.cs index 5e982461..37c49081 100644 --- a/Myshipping.Application/Service/DataSync/Dto/BookingOrderDto.cs +++ b/Myshipping.Application/Service/DataSync/Dto/BookingOrderDto.cs @@ -1,4 +1,5 @@ -using System; +using Myshipping.Application.Entity; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -723,6 +724,12 @@ namespace Myshipping.Application.Service.DataSync.Dto /// public BookingEDIExtDto BookingEDIExt { get; set; } + + /// + /// 下货纸 + /// + public BookingLetteryard BookingLetteryard { get; set; } + public List childrens { get; set; } ///