S-74
parent
11ad8f8d5f
commit
bcdd8b7e2b
|
@ -256,6 +256,8 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
public int? UrgentCount { get; set; }
|
||||
|
||||
public int? ToBeDealedCount { get; set; }
|
||||
|
||||
public int? ReadModuleCount { get; set; }
|
||||
}
|
||||
|
||||
public class TrialToBeDoneQuery : PageInput
|
||||
|
|
|
@ -441,8 +441,8 @@ namespace IRaCIS.Core.Application
|
|||
TrialCode = t.TrialCode,
|
||||
UrgentCount = t.SubjectVisitList.Where(u => u.IsBaseLine && u.SubmitState != SubmitStateEnum.Submitted && u.IsUrgent).Count(),
|
||||
ToBeDealedCount = t.ReadingClinicalDataList.Where(x=>!x.IsSign&& x.ClinicalDataTrialSet.UploadRole == UploadRole.CRC && x.ClinicalDataTrialSet.ClinicalDataLevel != ClinicalLevel.SubjectVisit).Count(),
|
||||
|
||||
}).Where(x=>x.ToBeDealedCount>0);
|
||||
ReadModuleCount=t.ReadModuleList.Count(),
|
||||
}).Where(x=>x.ToBeDealedCount>0).Where(x => x.ReadModuleCount > 0);
|
||||
|
||||
var result = await query.ToPagedListAsync(inQuery.PageIndex, inQuery.PageSize, string.IsNullOrEmpty(inQuery.SortField) ? nameof(ImageClinicalDataToBeDoneDto.TrialId) : inQuery.SortField, inQuery.Asc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue