From 362c30cc63998a9102fcc33ff8e2a60824d4b514 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Fri, 12 Jul 2024 08:36:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=AA=E6=AD=A2=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=8F=98=E6=9B=B4=E5=AE=A2=E6=9C=8D=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=20=E4=BF=AE=E6=94=B9=E8=BF=90=E8=BE=93?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=8F=98=E6=9B=B4=E9=82=AE=E4=BB=B6=E9=80=9A?= =?UTF-8?q?=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/TaskManagePlat/TaskManageCutDateChangeService.cs | 2 +- .../Service/TaskManagePlat/TaskTransPlanHasChangeService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskManageCutDateChangeService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskManageCutDateChangeService.cs index 3fefdbd1..36c76efb 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskManageCutDateChangeService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskManageCutDateChangeService.cs @@ -463,7 +463,7 @@ namespace Myshipping.Application if (!entityInfo.BOOKING_ID.HasValue) { - new EmailNoticeHelper().SendEmailNotice($"taskid={taskPKId} mblno={entityInfo.MBL_NO} 截止时间变更 转发通知邮件失败", $"taskid={taskPKId} mblno={entityInfo.MBL_NO} 当前任务没有对应的订舱订单,不能转发邮件,请先检索对应的订舱订单", App.Configuration["EmailNoticeDefaultUser"].GetUserEmailList()); + //new EmailNoticeHelper().SendEmailNotice($"taskid={taskPKId} mblno={entityInfo.MBL_NO} 截止时间变更 转发通知邮件失败", $"taskid={taskPKId} mblno={entityInfo.MBL_NO} 当前任务没有对应的订舱订单,不能转发邮件,请先检索对应的订舱订单", App.Configuration["EmailNoticeDefaultUser"].GetUserEmailList()); throw Oops.Oh($"当前任务没有对应的订舱订单,不能转发邮件,请先检索对应的订舱订单"); } diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskTransPlanHasChangeService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskTransPlanHasChangeService.cs index df992dc4..33281d57 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskTransPlanHasChangeService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskTransPlanHasChangeService.cs @@ -496,7 +496,7 @@ namespace Myshipping.Application if (!dto.BookingId.HasValue) { - new EmailNoticeHelper().SendEmailNotice($"taskid={taskPKId} mblno={dto.BillNo} 货物运输计划已变更 转发通知邮件失败", $"taskid={taskPKId} mblno={dto.BillNo} 当前任务没有对应的订舱订单,不能转发邮件,请先检索对应的订舱订单", App.Configuration["EmailNoticeDefaultUser"].GetUserEmailList()); + //new EmailNoticeHelper().SendEmailNotice($"taskid={taskPKId} mblno={dto.BillNo} 货物运输计划已变更 转发通知邮件失败", $"taskid={taskPKId} mblno={dto.BillNo} 当前任务没有对应的订舱订单,不能转发邮件,请先检索对应的订舱订单", App.Configuration["EmailNoticeDefaultUser"].GetUserEmailList()); throw Oops.Oh($"当前任务没有对应的订舱订单,不能转发邮件,请先检索对应的订舱订单"); }