修改readingtool默认值
parent
c64e4cbe01
commit
7888387e28
|
@ -147,7 +147,10 @@ namespace IRaCIS.Core.Application
|
||||||
|
|
||||||
GetTrialReadingInfoOutDto trialInfo= await _readingQuestionCriterionTrialRepository.Where(x=>x.Id==inDto.TrialReadingCriterionId).ProjectTo<GetTrialReadingInfoOutDto>(_mapper.ConfigurationProvider).FirstNotNullAsync();
|
GetTrialReadingInfoOutDto trialInfo= await _readingQuestionCriterionTrialRepository.Where(x=>x.Id==inDto.TrialReadingCriterionId).ProjectTo<GetTrialReadingInfoOutDto>(_mapper.ConfigurationProvider).FirstNotNullAsync();
|
||||||
|
|
||||||
|
if (trialInfo.ReadingTool == null)
|
||||||
|
{
|
||||||
|
trialInfo.ReadingTool = ReadingTool.Dicom;
|
||||||
|
}
|
||||||
|
|
||||||
return trialInfo;
|
return trialInfo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue