|
|
@ -297,10 +297,10 @@ namespace Myshipping.Report.Controllers
|
|
|
|
private string GetBookingJson(long bookingId)
|
|
|
|
private string GetBookingJson(long bookingId)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
log.Debug($"准备获取订舱数据:{bookingId}");
|
|
|
|
log.Debug($"准备获取订舱数据:{bookingId}");
|
|
|
|
var order = sqlSugarClient.Queryable<BookingOrder>().First(x => x.Id == bookingId);
|
|
|
|
var order = sqlSugarClient.Queryable<BookingOrder>().First(x => x.Id == bookingId && x.IsDeleted == false);
|
|
|
|
var ctns = sqlSugarClient.Queryable<BookingCtn>().Where(x => x.BILLID == bookingId).ToList();
|
|
|
|
var ctns = sqlSugarClient.Queryable<BookingCtn>().Where(x => x.BILLID == bookingId && x.IsDeleted == false).ToList();
|
|
|
|
var bookingEdi = sqlSugarClient.Queryable<BookingEDIExt>().First(x => x.BookingId == bookingId);
|
|
|
|
var bookingEdi = sqlSugarClient.Queryable<BookingEDIExt>().First(x => x.BookingId == bookingId && x.IsDeleted == false);
|
|
|
|
var letterYard = sqlSugarClient.Queryable<BookingLetteryard>().First(x => x.BookingId == bookingId);
|
|
|
|
var letterYard = sqlSugarClient.Queryable<BookingLetteryard>().First(x => x.BookingId == bookingId && x.IsDeleted == false);
|
|
|
|
|
|
|
|
|
|
|
|
long uid = 0;
|
|
|
|
long uid = 0;
|
|
|
|
if (!string.IsNullOrEmpty(order.OPID))
|
|
|
|
if (!string.IsNullOrEmpty(order.OPID))
|
|
|
|