From 1f4bb0128a228dfd61ddeee868c5db429103c649 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 24 Jan 2024 09:03:51 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=82=AE=E4=BB=B6=E6=A8=A1=E6=9D=BF=E5=90=AF?= =?UTF-8?q?=E7=94=A8=E4=B8=8E=E5=90=A6=E6=B2=A1=E7=94=A8bug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Document/EmailSendService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Document/EmailSendService.cs b/IRaCIS.Core.Application/Service/Document/EmailSendService.cs index 5c3cbff65..2fd64bfb4 100644 --- a/IRaCIS.Core.Application/Service/Document/EmailSendService.cs +++ b/IRaCIS.Core.Application/Service/Document/EmailSendService.cs @@ -302,7 +302,7 @@ namespace IRaCIS.Core.Application.Service .Include(t => t.TrialEmailNoticeUserList).Include(t => t.TrialEmailBlackUserList).FirstOrDefaultAsync(); - if (trialEmailConfig == null || trialEmailConfig.IsAutoSend == false) + if (trialEmailConfig == null || trialEmailConfig.IsAutoSend == false || trialEmailConfig.IsEnable==false) { return (null,null); }