IRC_NewDev
			
			
		
		
							parent
							
								
									2c859e7186
								
							
						
					
					
						commit
						8823656231
					
				| 
						 | 
					@ -1824,9 +1824,11 @@ namespace IRaCIS.Application.Services
 | 
				
			||||||
                var markquestionId = inDto.QuestionMarkInfoList.Select(y => y.QuestionId).ToList();
 | 
					                var markquestionId = inDto.QuestionMarkInfoList.Select(y => y.QuestionId).ToList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                var needDeleteMarkQuestonIds = inDto.Answers.Where(x => x.Answer == string.Empty).Select(x => x.Id).ToList();
 | 
					                var needDeleteMarkQuestonIds = inDto.Answers.Where(x => x.Answer == string.Empty).Select(x => x.Id).ToList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                await _readingTaskQuestionMarkRepository.BatchUpdateNoTrackingAsync(x =>
 | 
					                await _readingTaskQuestionMarkRepository.BatchUpdateNoTrackingAsync(x =>
 | 
				
			||||||
                (x.QuestionType == QuestionType.SplenicTopPosition || x.QuestionType == QuestionType.SplenicBottomPosition) ||
 | 
					                (x.QuestionType == QuestionType.SplenicTopPosition || x.QuestionType == QuestionType.SplenicBottomPosition) ||
 | 
				
			||||||
                x.VisitTaskId == inDto.VisitTaskId && markquestionId.Contains(x.QuestionId), x => new ReadingTaskQuestionMark()
 | 
					                x.VisitTaskId == inDto.VisitTaskId && needDeleteMarkQuestonIds.Contains(x.QuestionId), x => new ReadingTaskQuestionMark()
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    PicturePath = string.Empty,
 | 
					                    PicturePath = string.Empty,
 | 
				
			||||||
                    MeasureData = string.Empty,
 | 
					                    MeasureData = string.Empty,
 | 
				
			||||||
| 
						 | 
					@ -1834,7 +1836,7 @@ namespace IRaCIS.Application.Services
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				await _readingTaskQuestionMarkRepository.BatchUpdateNoTrackingAsync(x =>
 | 
									await _readingTaskQuestionMarkRepository.BatchUpdateNoTrackingAsync(x =>
 | 
				
			||||||
				(x.QuestionType == QuestionType.LiverSUVmax || x.QuestionType == QuestionType.MediastinumSUVmax) ||
 | 
									(x.QuestionType == QuestionType.LiverSUVmax || x.QuestionType == QuestionType.MediastinumSUVmax) ||
 | 
				
			||||||
				x.VisitTaskId == inDto.VisitTaskId && markquestionId.Contains(x.QuestionId), x => new ReadingTaskQuestionMark()
 | 
									x.VisitTaskId == inDto.VisitTaskId && needDeleteMarkQuestonIds.Contains(x.QuestionId), x => new ReadingTaskQuestionMark()
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					OtherPicturePath = string.Empty,
 | 
										OtherPicturePath = string.Empty,
 | 
				
			||||||
                    OtherMeasureData=string.Empty,
 | 
					                    OtherMeasureData=string.Empty,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue