修改项目site 添加问题
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
							parent
							
								
									cc088900b6
								
							
						
					
					
						commit
						cac0652120
					
				| 
						 | 
				
			
			@ -555,8 +555,7 @@ namespace IRaCIS.Core.Application.Services
 | 
			
		|||
 | 
			
		||||
                            item.Description = "Key Series";
 | 
			
		||||
 | 
			
		||||
                            var modalityList = await _repository.Where<DicomSeries>(s => thisSeriesIdIds.Contains(s.Id)).OrderBy(s => s.SeriesNumber).
 | 
			
		||||
                            ThenBy(s => s.SeriesTime).Select(x => x.Modality).Distinct().ToListAsync(); ;
 | 
			
		||||
                            var modalityList = await _repository.Where<DicomSeries>(s => thisSeriesIdIds.Contains(s.Id)).OrderBy(s => s.SeriesNumber).ThenBy(s => s.SeriesTime).Select(x => x.Modality).Distinct().ToListAsync(); ;
 | 
			
		||||
                            item.Modality = string.Join(",", modalityList);
 | 
			
		||||
                            thisVisitTaskStudy.SeriesList.Add(item);
 | 
			
		||||
                            thisVisitTaskStudy.SeriesCount = thisVisitTaskStudy.SeriesList.Count;
 | 
			
		||||
| 
						 | 
				
			
			@ -604,8 +603,7 @@ namespace IRaCIS.Core.Application.Services
 | 
			
		|||
 | 
			
		||||
            foreach (var t in studyList)
 | 
			
		||||
            {
 | 
			
		||||
                t.SeriesList = seriesLists.Where(s => s.StudyId == t.StudyId).OrderBy(s => s.SeriesNumber).
 | 
			
		||||
               ThenBy(s => s.SeriesTime).ToList();
 | 
			
		||||
                t.SeriesList = seriesLists.Where(s => s.StudyId == t.StudyId).OrderBy(s => s.SeriesNumber).ThenBy(s => s.SeriesTime).ToList();
 | 
			
		||||
 | 
			
		||||
                t.SeriesList.ForEach(series =>
 | 
			
		||||
                {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1634,7 +1634,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
 | 
			
		|||
                var type = GetEntityAuditOpt(item);
 | 
			
		||||
 | 
			
		||||
                var entity = item.Entity as TrialSite;
 | 
			
		||||
                if (entity.Site == null)
 | 
			
		||||
                if (entity.Site == null && entity.SiteId!=null)
 | 
			
		||||
                {
 | 
			
		||||
                    entity.Site = await _dbContext.Site.Where(x => x.Id == entity.SiteId).FirstOrDefaultAsync();
 | 
			
		||||
                }
 | 
			
		||||
| 
						 | 
				
			
			@ -1650,9 +1650,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
 | 
			
		|||
                    SiteCode = entity.TrialSiteCode,
 | 
			
		||||
 | 
			
		||||
                    //Site  没记录稽查 必须查询存
 | 
			
		||||
                    SiteName = entity.Site.SiteName,
 | 
			
		||||
                    City = entity.Site.City,
 | 
			
		||||
                    Country = entity.Site.Country,
 | 
			
		||||
                    SiteName = entity.TrialSiteName
 | 
			
		||||
                });
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue