阅片图像查询修改
							parent
							
								
									1dc1d673dd
								
							
						
					
					
						commit
						73c9e15976
					
				| 
						 | 
				
			
			@ -534,12 +534,22 @@ namespace IRaCIS.Core.Application.Services
 | 
			
		|||
            foreach (var item in noDicomStudyList)
 | 
			
		||||
            {
 | 
			
		||||
                var nodicom = noDicomList.Where(x => x.Id == item.StudyId).First();
 | 
			
		||||
 | 
			
		||||
                var instanceCount = await _noneDicomStudyFileRepository.Where(x => x.NoneDicomStudyId == item.StudyId).CountAsync();
 | 
			
		||||
 | 
			
		||||
                if (instanceCount == 0)
 | 
			
		||||
                {
 | 
			
		||||
                    item.SeriesList = new List<DicomSeriesDTO>();
 | 
			
		||||
 | 
			
		||||
				}
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
					item.SeriesList = new List<DicomSeriesDTO>()
 | 
			
		||||
				{
 | 
			
		||||
					new DicomSeriesDTO (){
 | 
			
		||||
					IsDicom=false,
 | 
			
		||||
					Id=item.StudyId,
 | 
			
		||||
                    InstanceCount=await _noneDicomStudyFileRepository.Where(x=>x.NoneDicomStudyId==item.StudyId).CountAsync(),
 | 
			
		||||
					InstanceCount=instanceCount,
 | 
			
		||||
					Modality=item.Modalities,
 | 
			
		||||
					StudyId=item.StudyId,
 | 
			
		||||
					TrialId=nodicom.TrialId,
 | 
			
		||||
| 
						 | 
				
			
			@ -553,6 +563,8 @@ namespace IRaCIS.Core.Application.Services
 | 
			
		|||
				};
 | 
			
		||||
				}
 | 
			
		||||
              
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            if (studyList == null || studyList.Count == 0)
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue