随机阅片导表
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
f1f584c337
commit
013561541c
|
@ -41,7 +41,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
[AllowAnonymous]
|
||||
public async Task<IResponseOutput> DownloadTrialImage(Guid trialId)
|
||||
{
|
||||
var subjectCodeList = new List<string>() { "S040001", "S140001", "S190002" };
|
||||
var subjectCodeList = new List<string>() { "05002", "07006", "07026" };
|
||||
var downloadInfo = _trialRepository.Where(t => t.Id == trialId).Select(t => new
|
||||
{
|
||||
t.ResearchProgramNo,
|
||||
|
@ -64,10 +64,10 @@ namespace IRaCIS.Core.Application.Service
|
|||
InstancePathList = z.DicomInstanceList.Select(k => new
|
||||
{
|
||||
k.Path
|
||||
})
|
||||
}).ToList()
|
||||
})
|
||||
|
||||
}),
|
||||
}).ToList(),
|
||||
|
||||
NoneDicomStudyList = sv.NoneDicomStudyList.Select(nd => new
|
||||
{
|
||||
|
@ -80,14 +80,15 @@ namespace IRaCIS.Core.Application.Service
|
|||
file.FileName,
|
||||
file.Path,
|
||||
file.FileType
|
||||
})
|
||||
})
|
||||
}).ToList()
|
||||
}).ToList()
|
||||
}).ToList()
|
||||
|
||||
}).FirstOrDefault();
|
||||
|
||||
|
||||
var count = downloadInfo.VisitList.SelectMany(t => t.NoneDicomStudyList).SelectMany(t => t.FileList).Count();
|
||||
var count2 = downloadInfo.VisitList.SelectMany(t => t.StudyList).SelectMany(t => t.SeriesList).SelectMany(t=>t.InstancePathList).Count();
|
||||
|
||||
if (downloadInfo != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue