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