From 5a8f564b7408d08907a35dd09eabafa2bfa69542 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 19 May 2025 15:58:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Document/SystemDocumentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs index a3e22f7b9..efea64699 100644 --- a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs @@ -168,7 +168,7 @@ namespace IRaCIS.Core.Application.Services .Where(id => !beforeUserTypeIds.Contains(id)) .ToList(); - if (newUserTypeIds.Any()) + if (newUserTypeIds.Any()&& newUserTypeIds.Count()>0) { // 发送邮件给新增的角色 Console.WriteLine("开始 发送系统文档更新邮件给新增角色");