");
portBuilder.Append($"{d.CTN_NO} | ");
portBuilder.Append($"{d.MBL_NO} | ");
portBuilder.Append($"{d.CNEE} | ");
portBuilder.Append($"{(d.DISCHARGE_DATE.HasValue ? d.DISCHARGE_DATE.Value.ToString("yyyy-MM-dd HH:mm") : "")} | ");
portBuilder.Append($"{d.CUR_CONTA_LOCATION} | ");
portBuilder.Append($"{(d.OVERDUE_DAYS.HasValue ? d.OVERDUE_DAYS.Value.ToString() : "")} | ");
portBuilder.Append($"{(d.DETENTION_FEE_TILL_DATE.HasValue ? d.DETENTION_FEE_TILL_DATE.Value.ToString("0.##") : "")} | ");
portBuilder.Append($"{d.CHARGE_CURRENCY} | ");
portBuilder.Append("
");
tdPortNode.ChildNodes.Add(HtmlNode.CreateNode(portBuilder.ToString()));
});
}
result = html.DocumentNode.OuterHtml;
}
catch (Exception ex)
{
_logger.LogInformation($"生成起运港未提箱正文失败,原因:{ex.Message}");
throw Oops.Bah($"生成起运港未提箱正文失败,原因:{ex.Message}");
}
return result;
}
#endregion
#region 推送邮件
///