代码修改
continuous-integration/drone/push Build is passing Details

IRC_NewDev
he 2023-12-20 16:04:46 +08:00
parent 1316dae035
commit 6d4ce03c10
1 changed files with 7 additions and 0 deletions

View File

@ -271,6 +271,13 @@ namespace IRaCIS.Core.Application.Service
&&x.ClinicalQuestionType!= ReadingQestionType.Group
&& x.ClinicalQuestionType != ReadingQestionType.Table).OrderByDescending(x=>x.IsCheckDate).ThenBy(x=>x.ShowOrder)
.ProjectTo<TrialClinicalQuestionDto>(_mapper.ConfigurationProvider).ToListAsync();
if (_userInfo.IsEn_Us)
{
result.QuestionList.ForEach(x => {
x.GroupName = x.GroupEnName;
x.QuestionName = x.QuestionEnName;
});
}
var answers = await _clinicalQuestionAnswerRepository.Where(x => x.SubjectId == inDto.SubjectId && x.ClinicalDataTrialSetId == inDto.ClinicalDataTrialSetId)
.Select(x => new