From ea836d9349e11f5e80e222e84653016aa373f594 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 17 Jun 2025 16:42:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=98=85=E7=89=87=E6=9C=9F?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E7=94=9F=E6=88=90=E8=A3=81=E5=88=A4=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 2 +- .../Service/Reading/ReadingPeriod/ReadingPeriodSetService.cs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index e2515a030..7ba61d58b 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -13452,7 +13452,7 @@ 阅片期配置 - + 阅片期配置 diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadingPeriodSetService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadingPeriodSetService.cs index b2a7ab952..9df0f6faa 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadingPeriodSetService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingPeriod/ReadingPeriodSetService.cs @@ -167,6 +167,9 @@ namespace IRaCIS.Core.Application.Service }); }; + await _readModuleRepository.AddRangeAsync(readModules); + + await _readModuleRepository.SaveChangesAsync(); // 判断是否要添加肿瘤学或者全局阅片任务 var subjectVisitIds = readModules.Select(x => x.SubjectVisitId).ToList(); @@ -279,7 +282,7 @@ namespace IRaCIS.Core.Application.Service break; } - await _readModuleRepository.AddRangeAsync(readModules); +