修改一版
parent
bee1ebe768
commit
e60ccc0083
|
@ -149,7 +149,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region 问题
|
||||||
private async Task<List<ReadingMedicineQuestion>> GetMedicalQuestionAnswer(GetMedicalReviewReadingTaskInDto inDto)
|
private async Task<List<ReadingMedicineQuestion>> GetMedicalQuestionAnswer(GetMedicalReviewReadingTaskInDto inDto)
|
||||||
{
|
{
|
||||||
var questionQuery = from data in _readingMedicineTrialQuestionRepository.Where(x => x.TrialId == inDto.TrialId && x.IsConfirm && x.IsEnable)
|
var questionQuery = from data in _readingMedicineTrialQuestionRepository.Where(x => x.TrialId == inDto.TrialId && x.IsConfirm && x.IsEnable)
|
||||||
|
@ -170,7 +170,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
Answer = leftquestionAnswer.Answer
|
Answer = leftquestionAnswer.Answer
|
||||||
};
|
};
|
||||||
|
|
||||||
var questionList = await questionQuery.ToListAsync();
|
var questionList = await questionQuery.OrderBy(x=>x.ShowOrder).ToListAsync();
|
||||||
|
|
||||||
List<ReadingMedicineQuestion> medicineQuestionList = questionList.Where(x => x.ParentId == null).ToList();
|
List<ReadingMedicineQuestion> medicineQuestionList = questionList.Where(x => x.ParentId == null).ToList();
|
||||||
medicineQuestionList.ForEach(x =>
|
medicineQuestionList.ForEach(x =>
|
||||||
|
@ -193,6 +193,9 @@ namespace IRaCIS.Core.Application.Service
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 保存医学审核问题
|
/// 保存医学审核问题
|
||||||
|
|
Loading…
Reference in New Issue