|
|
|
@ -10182,7 +10182,7 @@ namespace Myshipping.Application
|
|
|
|
|
if (isSend)
|
|
|
|
|
{
|
|
|
|
|
//这里发送配置通过提单号的前3个英文字母判断
|
|
|
|
|
string ediCode = order.MBLNO.Substring(1, 3).ToUpper();
|
|
|
|
|
string ediCode = order.MBLNO.Substring(0,3).ToUpper();
|
|
|
|
|
|
|
|
|
|
var ftpSet = _cache.GetAllEdiSetting().GetAwaiter().GetResult()
|
|
|
|
|
.FirstOrDefault(a => a.EDICODE.Equals(ediCode, StringComparison.OrdinalIgnoreCase)
|
|
|
|
@ -10233,7 +10233,7 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//推送订舱邮件
|
|
|
|
|
sendStatus = await InnerSendBookingOrClosingEDIToEmail(order, result.extra.ToString(),"E", result.extra2.ToString(), ftpSet);
|
|
|
|
|
sendStatus = await InnerSendToEmailByUserEmail(mailAcc, result.extra.ToString(),result.extra2.ToString(), ftpSet);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DateTime eDate = DateTime.Now;
|
|
|
|
|