|
|
|
@ -943,7 +943,7 @@ namespace Myshipping.Application
|
|
|
|
|
if (model.BookingEDIExt != null)
|
|
|
|
|
{
|
|
|
|
|
//检索EDI扩展
|
|
|
|
|
var ediExtEntity = _bookingEDIExt.FirstOrDefault(u => u.BookingId == main.Id);
|
|
|
|
|
var ediExtEntity = await _bookingEDIExt.AsQueryable().Filter(null, true).Where(x => x.BookingId == main.Id).FirstAsync();
|
|
|
|
|
|
|
|
|
|
if (ediExtEntity == null)
|
|
|
|
|
{
|
|
|
|
@ -1244,7 +1244,7 @@ namespace Myshipping.Application
|
|
|
|
|
if (item.BookingEDIExt != null)
|
|
|
|
|
{
|
|
|
|
|
//检索EDI扩展
|
|
|
|
|
var ediExtEntity = _bookingEDIExt.FirstOrDefault(u => u.BookingId == fdmain.Id);
|
|
|
|
|
var ediExtEntity = await _bookingEDIExt.AsQueryable().Filter(null, true).Where(x => x.BookingId == fdmain.Id).FirstAsync();
|
|
|
|
|
|
|
|
|
|
if (ediExtEntity == null)
|
|
|
|
|
{
|
|
|
|
@ -1359,8 +1359,8 @@ namespace Myshipping.Application
|
|
|
|
|
if (item.BookingEDIExt != null)
|
|
|
|
|
{
|
|
|
|
|
//检索EDI扩展
|
|
|
|
|
var ediExtEntity = _bookingEDIExt.FirstOrDefault(u => u.BookingId == fdentity.Id);
|
|
|
|
|
|
|
|
|
|
var ediExtEntity = await _bookingEDIExt.AsQueryable().Filter(null, true).Where(x => x.BookingId == fdentity.Id).FirstAsync();
|
|
|
|
|
if (ediExtEntity == null)
|
|
|
|
|
{
|
|
|
|
|
//写入EDI扩展
|
|
|
|
|