单独的订舱编号

master
wanghaomei 4 months ago
parent 8d91c9d0fe
commit 9ffd908ca5

@ -908,6 +908,12 @@ namespace Myshipping.Application.Entity
/// 父级订单编号
/// </summary>
public string ParentBookingNO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string CustNO { get; set; }
}
/// <summary>

@ -2400,6 +2400,10 @@ namespace Myshipping.Application
await _repOrder.AsUpdateable(bkOrder).UpdateColumns(x => new { x.CUSTNO, x.BSSTATUS }).ExecuteCommandAsync();
CustomerBookingSyncHelper.SendCustomerBookingSync(bkOrder.Id, BookingOrderSyncTypeEnum.CC.ToString());
_logger.LogInformation($"回写订舱号并回推客户端:{bkOrder.Id} {custNO}");
//2024年7月17日增加了单独的订舱编号字段方便运营端查询
model.CustNO = custNO;
await _rep.AsUpdateable(model).UpdateColumns(x => new { x.CustNO }).ExecuteCommandAsync();
}
}
else if (model.CARRIERID == "EMC")
@ -2416,6 +2420,10 @@ namespace Myshipping.Application
CustomerBookingSyncHelper.SendCustomerBookingSync(bkOrder.Id, BookingOrderSyncTypeEnum.CC.ToString());
_logger.LogInformation($"回写订舱号并回推客户端:{bkOrder.Id} {bkOrder.CUSTNO}");
//2024年7月17日增加了单独的订舱编号字段方便运营端查询
model.CustNO = custNO;
await _rep.AsUpdateable(model).UpdateColumns(x => new { x.CustNO }).ExecuteCommandAsync();
//有多票订舱编号,后台自动创建数据并对应
custNOArr.RemoveAt(0);
if (custNOArr.Count > 0)

@ -119,6 +119,11 @@ namespace Myshipping.Application
/// 父级订单编号
/// </summary>
public string ParentBookingNO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string CustNO { get; set; }
}
//dto
@ -787,6 +792,11 @@ namespace Myshipping.Application
/// 父级订单编号
/// </summary>
public string ParentBookingNO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string CustNO { get; set; }
}
//保存dto

Loading…
Cancel
Save