diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs index be7f04950..943d27f78 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs @@ -192,6 +192,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto public List LesionCountList { get; set; } = new List(); + } 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 + }); + } + } + /// /// 重置并同步项目阅片标准 ///