Uat_Study
			
			
		
		
							parent
							
								
									2b5108cb76
								
							
						
					
					
						commit
						7fa5d24c6c
					
				| 
						 | 
				
			
			@ -777,15 +777,15 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
 | 
			
		|||
            }
 | 
			
		||||
            else
 | 
			
		||||
            {
 | 
			
		||||
                var twoindex = taskList.OrderBy(x => x.VisitTaskNum).ToList()[3];
 | 
			
		||||
                var twoindex = taskList.OrderBy(x => x.VisitTaskNum).ToList()[2];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                result = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.AlwaysNewLesions).SelectMany(x => x.TableRowInfoList)
 | 
			
		||||
             .Where(x => x.FristAddTaskNum >= twoindex.VisitTaskNum && x.TableQuestionList.Any(y => y.QuestionMark == QuestionMark.State && y.Answer == EvaluationOfState.Exists.GetEnumInt())).Count()
 | 
			
		||||
             .Where(x => x.FristAddTaskNum >= twoindex.VisitTaskNum && x.TableQuestionList.Any(y => y.QuestionMark == QuestionMark.State && y.Answer == EvaluationOfState.Exists.GetEnumInt())).Count();
 | 
			
		||||
 | 
			
		||||
             + inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NewLesions).SelectMany(x => x.TableRowInfoList)
 | 
			
		||||
              .Where(x => x.TableQuestionList.Any(y => y.QuestionMark == QuestionMark.State && y.Answer == EvaluationOfState.Exists.GetEnumInt()))
 | 
			
		||||
              .Count();
 | 
			
		||||
             //+ inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NewLesions).SelectMany(x => x.TableRowInfoList)
 | 
			
		||||
             // .Where(x => x.TableQuestionList.Any(y => y.QuestionMark == QuestionMark.State && y.Answer == EvaluationOfState.Exists.GetEnumInt()))
 | 
			
		||||
             // .Count();
 | 
			
		||||
            }
 | 
			
		||||
           
 | 
			
		||||
            
 | 
			
		||||
| 
						 | 
				
			
			@ -1086,7 +1086,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
 | 
			
		|||
 | 
			
		||||
            if (errorMassage != string.Empty)
 | 
			
		||||
            {
 | 
			
		||||
                errorMassage = _localizer["ReadingCalculate_Questionable"] + errorMassage;
 | 
			
		||||
                errorMassage = _localizer["ReadingCalculate_questionable"] + errorMassage;
 | 
			
		||||
                throw new BusinessValidationFailedException(errorMassage);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue