|
|
|
@ -302,6 +302,19 @@ namespace Myshipping.Report.Controllers
|
|
|
|
|
var bookingEdi = sqlSugarClient.Queryable<BookingEDIExt>().First(x => x.BookingId == bookingId);
|
|
|
|
|
var letterYard = sqlSugarClient.Queryable<BookingLetteryard>().First(x => x.BookingId == bookingId);
|
|
|
|
|
|
|
|
|
|
long uid = 0;
|
|
|
|
|
if (!string.IsNullOrEmpty(order.OPID))
|
|
|
|
|
{
|
|
|
|
|
uid = Convert.ToInt64(order.OPID);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
uid = Convert.ToInt64(order.CreatedUserId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var opUser = sqlSugarClient.Queryable<SysUser>().First(x => x.Id == uid);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DjyCustomer customer = null;
|
|
|
|
|
if (!string.IsNullOrEmpty(order.AGENTID)) //根据国外代理,获取客户的提单信息
|
|
|
|
|
{
|
|
|
|
@ -315,6 +328,7 @@ namespace Myshipping.Report.Controllers
|
|
|
|
|
letterYard,
|
|
|
|
|
agentCustomer = customer,
|
|
|
|
|
ediExt = bookingEdi,
|
|
|
|
|
opUser = opUser,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
log.Debug($"订舱数据:{strObj}");
|
|
|
|
|