客户信息详情增加提单信息字段

optimize
whm 1 year ago
parent bc55943f8f
commit 8da82c37a0

@ -11111,6 +11111,11 @@
客服 客服
</summary> </summary>
</member> </member>
<member name="P:Myshipping.Core.Service.DjyCustomerOutput.TIDANINFO">
<summary>
提单信息
</summary>
</member>
<member name="P:Myshipping.Core.Service.DjyCustomerOutput.ServiceItem"> <member name="P:Myshipping.Core.Service.DjyCustomerOutput.ServiceItem">
<summary> <summary>
服务项目 服务项目

@ -156,6 +156,10 @@ namespace Myshipping.Core.Service
/// </summary> /// </summary>
public string CUSTSERVICE { get; set; } public string CUSTSERVICE { get; set; }
/// <summary> /// <summary>
/// 提单信息
/// </summary>
public string TIDANINFO { get; set; }
/// <summary>
/// 服务项目 /// 服务项目
/// </summary> /// </summary>
public string ServiceItem { get; set; } public string ServiceItem { get; set; }

@ -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))

Loading…
Cancel
Save