修改访视领取限制
							parent
							
								
									fd380ce430
								
							
						
					
					
						commit
						89a96fd7d6
					
				| 
						 | 
				
			
			@ -1112,16 +1112,16 @@ namespace IRaCIS.Core.Application.Image.QA
 | 
			
		|||
                }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                if (await _subjectVisitRepository.AnyAsync(t => t.IsTake &&
 | 
			
		||||
                                                                t.SubjectId != dbSubjectVisit.SubjectId &&
 | 
			
		||||
                                                                t.CurrentActionUserId == _userInfo.Id &&
 | 
			
		||||
                                                                t.TrialId == dbSubjectVisit.TrialId
 | 
			
		||||
                                                                ))
 | 
			
		||||
                {
 | 
			
		||||
                //if (await _subjectVisitRepository.AnyAsync(t => t.IsTake &&
 | 
			
		||||
                //                                                t.SubjectId != dbSubjectVisit.SubjectId &&
 | 
			
		||||
                //                                                t.CurrentActionUserId == _userInfo.Id &&
 | 
			
		||||
                //                                                t.TrialId == dbSubjectVisit.TrialId
 | 
			
		||||
                //                                                ))
 | 
			
		||||
                //{
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                    return ResponseOutput.NotOk("您已经领取了其他受试者,完成后才允许领取新的受试者");
 | 
			
		||||
                }
 | 
			
		||||
                //    return ResponseOutput.NotOk("您已经领取了其他受试者,完成后才允许领取新的受试者");
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                #region 处理验证
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue