修改阅片期统计
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-10-28 16:32:55 +08:00
parent 253a401c95
commit ae83489c74
1 changed files with 1 additions and 1 deletions

View File

@ -2329,7 +2329,7 @@ namespace IRaCIS.Core.Application.Service.Common
//2、总样本量QR1,R2均完成阅片的阅片期数量
exportInfo.ReadingPeriodCount = _visitTaskRepository.Where(comonTaskFilter).Where(t => t.ReadingCategory == ReadingCategory.Global && t.ReadingTaskState == ReadingTaskState.HaveSigned)
.GroupBy(t => new { t.SubjectId, t.DoctorUserId, t.SouceReadModuleId })
.GroupBy(t => new { t.SubjectId, t.SouceReadModuleId })
.Where(g => g.Count() == 2).Select(g => g.Key.SouceReadModuleId).Distinct().Count();
exportInfo.judgeReadingPeriodCount = _visitTaskRepository.Where(comonTaskFilter).Where(t => t.ReadingCategory == ReadingCategory.Global && t.ReadingTaskState == ReadingTaskState.HaveSigned)