修改
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
							parent
							
								
									acad258319
								
							
						
					
					
						commit
						27d9104607
					
				| 
						 | 
				
			
			@ -40,7 +40,9 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
 | 
			
		|||
		[NotDefault]
 | 
			
		||||
		public Guid TrialId { get; set; }
 | 
			
		||||
 | 
			
		||||
		public Guid? TrialReadingCriterionId { get; set; }
 | 
			
		||||
		public Guid TrialReadingCriterionId { get; set; }
 | 
			
		||||
 | 
			
		||||
		public Guid SubjectId { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -55,6 +57,9 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
 | 
			
		|||
 | 
			
		||||
        public bool? IsUrgent { get; set; }
 | 
			
		||||
 | 
			
		||||
        public Guid? SubjectId { get; set; }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		public MedicalReviewAuditState? AuditState { get; set; }
 | 
			
		||||
 | 
			
		||||
        public string SubjectCode { get; set; } = string.Empty;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -792,11 +792,26 @@ namespace IRaCIS.Core.Application.Service
 | 
			
		|||
            var list = await GetIRMedicalFeedbackList(new GetIRMedicalFeedbackListInDto()
 | 
			
		||||
            {
 | 
			
		||||
                TrialId=inDto.TrialId,
 | 
			
		||||
                IsNotHaveSigned=true,
 | 
			
		||||
                AuditState= MedicalReviewAuditState.Auditing,
 | 
			
		||||
                TrialReadingCriterionId=inDto.TrialReadingCriterionId,
 | 
			
		||||
                SubjectId=inDto.SubjectId,
 | 
			
		||||
                PageIndex=1,
 | 
			
		||||
                PageSize=1,
 | 
			
		||||
            });
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
			if (list.CurrentPageData.Count() == 0)
 | 
			
		||||
			{
 | 
			
		||||
				list = await GetIRMedicalFeedbackList(new GetIRMedicalFeedbackListInDto()
 | 
			
		||||
				{
 | 
			
		||||
					TrialId = inDto.TrialId,
 | 
			
		||||
					AuditState = MedicalReviewAuditState.Auditing,
 | 
			
		||||
					TrialReadingCriterionId = inDto.TrialReadingCriterionId,
 | 
			
		||||
					PageIndex = 1,
 | 
			
		||||
					PageSize = 1,
 | 
			
		||||
				});
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
			if (list.CurrentPageData.Count() > 0)
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			@ -825,6 +840,7 @@ namespace IRaCIS.Core.Application.Service
 | 
			
		|||
                .Where(x => x.VisitTask.DoctorUserId == _userInfo.Id)
 | 
			
		||||
                .Where(x => x.IsHaveQuestion)
 | 
			
		||||
                .WhereIf(!inDto.TaskBlindName.IsNullOrEmpty(), x => x.VisitTask.TaskBlindName == inDto.TaskBlindName)
 | 
			
		||||
			     .WhereIf(inDto.SubjectId != null, x => x.VisitTask.SubjectId == inDto.SubjectId!)
 | 
			
		||||
				 .WhereIf(inDto.IsUrgent != null, x => x.VisitTask.IsUrgent == inDto.IsUrgent!)
 | 
			
		||||
                 .WhereIf(inDto.AuditState != null, x => x.AuditState == inDto.AuditState!)
 | 
			
		||||
				 .WhereIf(inDto.IsNotHaveSigned, x => x.AuditState != MedicalReviewAuditState.HaveSigned)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue