|
|
|
@ -950,6 +950,7 @@ namespace Myshipping.Application
|
|
|
|
|
/// <param name="input"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost("/BookingOrder/Save")]
|
|
|
|
|
|
|
|
|
|
public async Task<BookingOrderOutput> Save(BookingOrderDto input)
|
|
|
|
|
{
|
|
|
|
|
if (input == null)
|
|
|
|
@ -997,6 +998,15 @@ namespace Myshipping.Application
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (input.Id == 0)
|
|
|
|
|
{
|
|
|
|
|
if (string.IsNullOrEmpty(entity.VOYNO))
|
|
|
|
@ -1107,7 +1117,7 @@ namespace Myshipping.Application
|
|
|
|
|
if (input.BookingEDIExt != null)
|
|
|
|
|
{
|
|
|
|
|
//检索EDI扩展
|
|
|
|
|
var ediExt = _bookingEDIExt.FirstOrDefault(u => u.BookingId == input.Id);
|
|
|
|
|
var ediExt = _bookingEDIExt.AsQueryable().Filter(null, true).First(u => u.BookingId == input.Id);
|
|
|
|
|
|
|
|
|
|
if (ediExt == null)
|
|
|
|
|
{
|
|
|
|
|