+
+@{
+ var item = Model.Primary;
+}
+
+测试邮件-@item.MBLNO@item.CustomerNo
+
+
+ 预计开船日期:@item.ETD
+ 预计抵达日期:@item.ETA
+
+
+
+ 订单创建时间:@item.CreateTime.ToString("yyyy年MM月dd日 HH:mm:ss")
+
diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs
index 6bd174b6..b323c407 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs
@@ -55,8 +55,7 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction
var context = new ActionExecutionContext
{
TaskInfo = dataContext.Get(TaskFlowDataNameConst.BusinessTask),
- ServiceProvider = ServiceProvider,
- TenantDb = TenantDb
+ ServiceProvider = ServiceProvider
};
foreach (var key in dataContext.Keys)
{
diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/MailActionExecutor.cs b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/MailActionExecutor.cs
index 1b7ab530..1810fdac 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/MailActionExecutor.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/MailActionExecutor.cs
@@ -1,9 +1,21 @@
-using DS.Module.Core.Extensions;
+using DS.Module.Core;
+using DS.Module.PrintModule;
+using DS.Module.SqlSugar;
+using DS.Module.UserModule;
+using DS.WMS.Core.Info.Entity;
+using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Op.Dtos.TaskInteraction;
+using DS.WMS.Core.Op.Interface;
using DS.WMS.Core.Op.Interface.TaskInteraction;
+using DS.WMS.Core.Sys.Entity;
+using MailKit.Net.Smtp;
+using Masuit.Tools;
using Masuit.Tools.Systems;
using Microsoft.Extensions.DependencyInjection;
+using MimeKit;
+using Newtonsoft.Json;
using RazorEngineCore;
+using SqlSugar;
namespace DS.WMS.Core.Op.Method.TaskInteraction
{
@@ -12,6 +24,13 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction
///