From a499971e9144379e634127961d1e0ba9e6fdf7e2 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 21 Apr 2025 14:26:23 +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 --- .../MassTransit/Recurring/SystemDocumentConsumer.cs | 1 + .../Service/Document/SystemDocumentService.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/IRaCIS.Core.Application/MassTransit/Recurring/SystemDocumentConsumer.cs b/IRaCIS.Core.Application/MassTransit/Recurring/SystemDocumentConsumer.cs index fa20819fd..8b120f4e9 100644 --- a/IRaCIS.Core.Application/MassTransit/Recurring/SystemDocumentConsumer.cs +++ b/IRaCIS.Core.Application/MassTransit/Recurring/SystemDocumentConsumer.cs @@ -131,6 +131,7 @@ namespace IRaCIS.Core.Application.MassTransit.Recurring public async Task Consume(ConsumeContext context) { + Console.WriteLine("开始 发布系统文档SystemDocumentPublishEvent"); var isEn_US = CultureInfo.CurrentCulture.Name == StaticData.CultureInfo.en_US; var systemDocQuery = from sysDoc in _systemDocumentRepository.AsQueryable(false).Where(x => context.Message.Ids.Contains(x.Id)) diff --git a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs index dbd815f8a..80c499a9c 100644 --- a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs @@ -176,6 +176,7 @@ namespace IRaCIS.Core.Application.Services IsDeleted = false, }); + Console.WriteLine("开始 发布系统文档"); Task.Run(async () => {