Uat_Study
			
			
		
		
							parent
							
								
									0241f5f635
								
							
						
					
					
						commit
						32595ca92f
					
				| 
						 | 
				
			
			@ -88,6 +88,9 @@ namespace IRaCIS.Application.Services
 | 
			
		|||
        public async Task<GetJudgeReadingInfoOutDto> GetJudgeReadingInfo(GetJudgeReadingInfo inDto)
 | 
			
		||||
        {
 | 
			
		||||
            var visitTask = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).FirstOrDefaultAsync();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            var criterionType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == visitTask.TrialReadingCriterionId).Select(x => x.CriterionType).FirstNotNullAsync();
 | 
			
		||||
            GetJudgeReadingInfoOutDto judgeInfo = new GetJudgeReadingInfoOutDto()
 | 
			
		||||
            {
 | 
			
		||||
                ReadingTaskState = visitTask.ReadingTaskState,
 | 
			
		||||
| 
						 | 
				
			
			@ -302,14 +305,17 @@ namespace IRaCIS.Application.Services
 | 
			
		|||
                        };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                        // 加全局是否更新 和访视点注释
 | 
			
		||||
                        if (criterionType != CriterionType.PCWG3)
 | 
			
		||||
                        {
 | 
			
		||||
                            // 加全局是否更新 和访视点注释   PCWG3不要
 | 
			
		||||
                            judgeReadingQuestion.JudgeQuestionList.Add(new JudgeQuestion()
 | 
			
		||||
                            {
 | 
			
		||||
                                Answer = item.AfterQuestionList.Any(x => x.IsHaveChange),
 | 
			
		||||
                                QuestionType = JudgeReadingQuestionType.GlobalChange,
 | 
			
		||||
 | 
			
		||||
                            });
 | 
			
		||||
                        }
 | 
			
		||||
                       
 | 
			
		||||
 | 
			
		||||
                        judgeReadingQuestion.JudgeQuestionList.Add(new JudgeQuestion()
 | 
			
		||||
                        {
 | 
			
		||||
| 
						 | 
				
			
			@ -338,6 +344,10 @@ namespace IRaCIS.Application.Services
 | 
			
		|||
                                }).ToList()
 | 
			
		||||
                            };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                            if (criterionType != CriterionType.PCWG3)
 | 
			
		||||
                            {
 | 
			
		||||
                                // 加全局是否更新 和访视点注释
 | 
			
		||||
                                rTwoJudge.JudgeQuestionList.Add(new JudgeQuestion()
 | 
			
		||||
                                {
 | 
			
		||||
| 
						 | 
				
			
			@ -345,6 +355,10 @@ namespace IRaCIS.Application.Services
 | 
			
		|||
                                    QuestionType = JudgeReadingQuestionType.GlobalChange,
 | 
			
		||||
 | 
			
		||||
                                });
 | 
			
		||||
                            }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                          
 | 
			
		||||
 | 
			
		||||
                            rTwoJudge.JudgeQuestionList.Add(new JudgeQuestion()
 | 
			
		||||
                            {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue