{(currList[i].SEND_TIME.HasValue ? currList[i].SEND_TIME.Value.ToString("yyyy-MM-dd HH:mm:ss") : "")} | ");
- tableBuilder.Append($"{currList[i].STATUS_NAME} | {currList[i].BOOKING_REFERENCE} | {currList[i].PLACERECEIPT} | {currList[i].PLACEDELIVERY} | ");
+ tableBuilder.Append($"
{i+1} | {(currList[i].SEND_TIME.HasValue ? currList[i].SEND_TIME.Value.ToString("yyyy-MM-dd HH:mm:ss") : "")} | ");
+ tableBuilder.Append($"{currList[i].STATUS_NAME} | {currList[i].BOOKING_REFERENCE} | {currList[i].PLACERECEIPT_CITY} | {currList[i].PLACEDELIVERY_CITY} | ");
tableBuilder.Append($"{currList[i].CTN_STAT} | {(currList[i].ETD.HasValue ? currList[i].ETD.Value.ToString("yyyy-MM-dd HH:mm") : "")} | ");
- tableBuilder.Append($"{(currList[i].TOTAL_CARGO_WEIGHT.HasValue? currList[i].TOTAL_CARGO_WEIGHT.Value.ToString():"")} | {currList[i].PRICE_OWNER_REFERENCE} | ");
+ tableBuilder.Append($"{(currList[i].TOTAL_CARGO_WEIGHT.HasValue? currList[i].TOTAL_CARGO_WEIGHT.Value.ToString():"")} | {currList[i].PRICE_REFERENCE} | ");
tableBuilder.Append($"{(currList[i].IS_RECV_BC ? "1" : "")} | {(currList[i].IS_RECV_BK_CANCEL ? "1" : "")} | {(currList[i].JOB_TIME.HasValue ? currList[i].JOB_TIME.Value.ToString("yyyy-MM-dd HH:mm") : "")} |
");
}
@@ -2428,11 +2436,12 @@ namespace Myshipping.Application.Service.BookingOrder
tableNode.ChildNodes.Add(HtmlNode.CreateNode(tableBuilder.ToString()));
}
+ emailHtml = html.DocumentNode.OuterHtml;
EmailApiUserDefinedDto emailApiUserDefinedDto = new EmailApiUserDefinedDto
{
SendTo = opUser.Email,
- //CCTo = opEmail,
+ CCTo = string.Join(";", App.Configuration["EmailNoticeDefaultUser"].GetUserEmailList().ToArray()),
Title = $"马士基API定时订舱统计报告 {nowDate.ToString("yyyy-MM-dd HH:mm:ss")}",
Body = emailHtml,
Account = publicMailAccount.MailAccount?.Trim(),
diff --git a/Myshipping.Web.Entry/wwwroot/EmailTemplate/MSKAPITimerReportTemplate.html b/Myshipping.Web.Entry/wwwroot/EmailTemplate/MSKAPITimerReportTemplate.html
new file mode 100644
index 00000000..4f14e0b8
--- /dev/null
+++ b/Myshipping.Web.Entry/wwwroot/EmailTemplate/MSKAPITimerReportTemplate.html
@@ -0,0 +1,54 @@
+
+
+
+
+