diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index 9976b439c..9b02ef678 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -867,9 +867,9 @@ 创建人 - + - 备注 + 阅片配置的类型 diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingPeriodSetService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingPeriodSetService.cs index 32c8831e0..7bced6795 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingPeriodSetService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingPeriodSetService.cs @@ -85,7 +85,7 @@ namespace IRaCIS.Application.Services var visitquery = _subjectVisitRepository.Where(x => x.TrialId == readset.TrialId && x.LatestScanDate != null && x.InPlan); if (readset.ReadingScope == ReadingScopeEnum.Site) { - var siteids = readset.ReadingPeriodSites.Select(x => x.Id); + var siteids = readset.ReadingPeriodSites.Select(x => x.SiteId); visitquery = visitquery.Where(x => siteids.Contains(x.SiteId)); } @@ -191,9 +191,9 @@ namespace IRaCIS.Application.Services [HttpPut] public async Task SetReadingPeriodSetEffect(SetReadingPeriodSetEffect indto) { - var readquery =await _readingPeriodSetRepository.UpdatePartialNowNoQueryAsync(indto.Id, x => new ReadingPeriodSet() { + var readquery =await _readingPeriodSetRepository.UpdatePartialFromQueryAsync(indto.Id, x => new ReadingPeriodSet() { IsTakeEffect = indto.IsTakeEffect - }); + },true); return ResponseOutput.Result(true); }