|
|
@ -321,7 +321,6 @@ namespace Myshipping.Application
|
|
|
|
return list;
|
|
|
|
return list;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[HttpPost("/BookingOrder/AddOrUpdate")]
|
|
|
|
[HttpPost("/BookingOrder/AddOrUpdate")]
|
|
|
|
public async Task<long> AddOrUpdate(BookingOrderDto Dto)
|
|
|
|
public async Task<long> AddOrUpdate(BookingOrderDto Dto)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -671,10 +670,15 @@ namespace Myshipping.Application
|
|
|
|
var ctndetaillist = await _ctndetailrep.AsQueryable().Where(x => x.CTNID == it.Id).ToListAsync();
|
|
|
|
var ctndetaillist = await _ctndetailrep.AsQueryable().Where(x => x.CTNID == it.Id).ToListAsync();
|
|
|
|
it.ctnDetailInputs = ctndetaillist.Adapt<List<BookingCtnDetailDto>>();
|
|
|
|
it.ctnDetailInputs = ctndetaillist.Adapt<List<BookingCtnDetailDto>>();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
item.ctnInputs = ctninput;
|
|
|
|
item.ctnInputs = ctninput;
|
|
|
|
}
|
|
|
|
//检索EDI扩展
|
|
|
|
|
|
|
|
var ediExt = _bookingEDIExt.FirstOrDefault(u => u.BookingId == item.Id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ediExt != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
item.BookingEDIExt = ediExt.Adapt<BookingEDIExtDto>();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
ordOut.HbList = HbList;
|
|
|
|
ordOut.HbList = HbList;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|