optimize
wet 2 years ago
parent b7a618ddfc
commit e9cda80bf7

@ -118,7 +118,6 @@ namespace Myshipping.Application
private readonly SqlSugarRepository<BookingTemplate> _bookingTemplate;
private readonly SqlSugarRepository<ParaGoodsInfo> _paraGoodsInfoRepository;
private readonly SqlSugarRepository<ParaContractNoInfo> _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<List<BookingCtnDetailDto>>();
}
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)
{

@ -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
/// </summary>
public BookingEDIExtDto BookingEDIExt { get; set; }
/// <summary>
/// 下货纸
/// </summary>
public BookingLetteryard BookingLetteryard { get; set; }
public List<Children> childrens { get; set; }
///<summary>

Loading…
Cancel
Save