diff --git a/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs b/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs index cadb2200..4bf0bc9b 100644 --- a/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs +++ b/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs @@ -357,11 +357,11 @@ namespace Myshipping.Application var seaeList = await _seaeedi.AsQueryable() .Filter(null, true) - .Where(x => x.BookingId == bookingId) + .Where(x => x.BookingId == bookingId && x.IsDeleted == false) .ToListAsync(); var seaeCtnList = await _seaeedictn.AsQueryable() .Filter(null, true) - .Where(x => seaeList.Select(x => x.Id).Contains(x.PId)) + .Where(x => seaeList.Select(x => x.Id).Contains(x.PId) && x.IsDeleted == false) .ToListAsync(); var bkOrder = await _repBookingOrder.AsQueryable() .Filter(null, true)