修改VOLTA 截单

optimize
jianghaiqing 1 year ago
parent 4c2d70a990
commit adf7598ae6

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

Loading…
Cancel
Save