Uat_Study
he 2022-09-01 14:27:30 +08:00
parent a6c81418a4
commit d79dd2c142
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ namespace IRaCIS.Application.Services
/// <param name="inDto"></param>
/// <returns></returns>
[HttpPost]
public async Task<List<DicomReadingQuestionAnswer>> GetDicomReadingQuestionAnswer(GetDicomReadingQuestionAnswerInDto inDto)
public async Task<(List<DicomReadingQuestionAnswer>,bool)> GetDicomReadingQuestionAnswer(GetDicomReadingQuestionAnswerInDto inDto)
{
var criterionId = await _readingQuestionCriterionTrialRepository.Where(x => x.IsConfirm && x.TrialId == inDto.TrialId).Select(x => x.Id).FirstOrDefaultAsync();
@ -164,7 +164,7 @@ namespace IRaCIS.Application.Services
GetDicomReadingAnswer(item, questions, answers);
}
return result;
return (result,true);
}
private void GetDicomReadingAnswer(DicomReadingQuestionAnswer item,List<DicomReadingQuestionAnswer> questions,List<ReadingTaskQuestionAnswer> answers)