|
|
@ -3662,8 +3662,9 @@ namespace Myshipping.Application
|
|
|
|
throw Oops.Bah(BookingErrorCode.BOOK127);
|
|
|
|
throw Oops.Bah(BookingErrorCode.BOOK127);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var config = _cache.GetAllTenantParam().Result.FirstOrDefault(x => x.TenantId == UserManager.TENANT_ID && x.ParaCode == "VGM_SEND_CHANNEL");
|
|
|
|
var config = _cache.GetAllTenantParam().Result.FirstOrDefault(x => x.TenantId == UserManager.TENANT_ID && x.ParaCode == "VgmDirectSendCarrierId");
|
|
|
|
if (config != null && config.ItemCode == "USE_MYSHIPPING") //使用大简云发送vgm
|
|
|
|
var arrCarr = config.ItemCode.Split(",", StringSplitOptions.RemoveEmptyEntries);
|
|
|
|
|
|
|
|
if (!arrCarr.Contains(order.CARRIERID)) //使用大简云发送vgm
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//ETD不能为空
|
|
|
|
//ETD不能为空
|
|
|
|
if (!order.ETD.HasValue)
|
|
|
|
if (!order.ETD.HasValue)
|
|
|
|