From e6f91b9c4b784b5feb68896be8bf1106a8a215f6 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 17 Sep 2025 13:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=89=80=E6=9C=89pcwg?= =?UTF-8?q?=E6=A0=87=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/TrialSiteUser/TrialConfigService.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs index e2fd85dd6..348619631 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs @@ -1,4 +1,5 @@ -using IRaCIS.Application.Contracts; +using Amazon.Runtime.Internal.Util; +using IRaCIS.Application.Contracts; using IRaCIS.Application.Interfaces; using IRaCIS.Core.Application.Contracts; using IRaCIS.Core.Application.Filter; @@ -156,6 +157,17 @@ namespace IRaCIS.Core.Application return ResponseOutput.Ok(trialInfo); } + public async Task AsyncPCWGCriterion() + { + var trialCriterionList = await _readingQuestionCriterionTrialRepository.Where(x => x.ReadingQuestionCriterionSystemId != null&&x.CriterionType==CriterionType.PCWG3&&x.IsConfirm).ToListAsync(); + foreach (var trialCriterion in trialCriterionList) + { + await ResetAndAsyncCriterion(new ResetAndAsyncCriterionInDto (){ + TrialReadingCriterionId= trialCriterion.Id + }); + } + } + /// /// 重置并同步项目阅片标准 ///