小票船司映射

optimize
wanghaomei 12 months ago
parent d403843b53
commit 7f5893c8db

@ -3965,6 +3965,14 @@ namespace Myshipping.Application
throw Oops.Bah(BookingErrorCode.BOOK117);
}
var carrCode = order.CARRIERID;
var carrMap = _cache.GetAllMappingCarrier().Result.Where(y => y.Code == order.CARRIERID && y.Module == "BookingTxxp").FirstOrDefault();
if (carrMap != null)
{
carrCode = carrMap.MapCode;
}
//亿通账号
var ytAcc = _webAccountConfig.GetAccountConfig("YitongWeb", UserManager.UserId).Result;
if (ytAcc == null)
@ -4014,7 +4022,7 @@ namespace Myshipping.Application
var postObj = new
{
SystemCode = "djy_hechuan",
CarrierCode = order.CARRIERID,
CarrierCode = carrCode,
billOrderId = order.Id.ToString(),
sendOrderCode = order.MBLNO,
userId = UserManager.DjyUserId,

Loading…
Cancel
Save