|
|
|
@ -378,7 +378,16 @@ namespace Myshipping.Application
|
|
|
|
|
|
|
|
|
|
var fstOrder = bookingOrderList.FirstOrDefault();
|
|
|
|
|
|
|
|
|
|
string emailTitle = $"{model.MBL_NO}-{fstOrder.VESSEL}/{fstOrder.VOYNO}/ 未提箱订舱取消确认";
|
|
|
|
|
string emailTitle = string.Empty;
|
|
|
|
|
|
|
|
|
|
if (fstOrder != null && !string.IsNullOrWhiteSpace(fstOrder.VESSEL))
|
|
|
|
|
{
|
|
|
|
|
emailTitle = $"{model.MBL_NO}-{fstOrder.VESSEL}/{fstOrder.VOYNO}/ 未提箱订舱取消确认";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
emailTitle = $"{model.MBL_NO}-{model.VESSEL}/{model.VOYNO}/ 未提箱订舱取消确认";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//提取当前公共邮箱的配置
|
|
|
|
|
DjyUserMailAccount publicMailAccount = _djyUserMailAccount.AsQueryable().Filter(null, true).First(x => x.TenantId == UserManager.TENANT_ID && x.ShowName == "PublicSend"
|
|
|
|
@ -539,6 +548,11 @@ namespace Myshipping.Application
|
|
|
|
|
string s = $"{fstOrderInfo.VESSEL}/{fstOrderInfo.VOYNO}";
|
|
|
|
|
baseHtml = baseHtml.Replace("#VesselVoyno#", s);
|
|
|
|
|
}
|
|
|
|
|
else if (!string.IsNullOrWhiteSpace(model.VESSEL))
|
|
|
|
|
{
|
|
|
|
|
string s = $"{model.VESSEL}/{model.VOYNO}";
|
|
|
|
|
baseHtml = baseHtml.Replace("#VesselVoyno#", s);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
baseHtml = baseHtml.Replace("#VesselVoyno#", "");
|
|
|
|
|