Uat_Study
he 2022-11-22 13:46:39 +08:00
parent 3c4d07e162
commit 84904f67a2
1 changed files with 4 additions and 4 deletions

View File

@ -83,9 +83,9 @@ namespace IRaCIS.Application.Services
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
public async Task<List<DicomReadingQuestionAnswer>> GetCustomQuestionPreview(GetCustomQuestionPreviewInDto inDto) public async Task<(List<DicomReadingQuestionAnswer>,bool)> GetCustomQuestionPreview(GetCustomQuestionPreviewInDto inDto)
{ {
return await _iReadingImageTaskService.GetReadingQuestion(inDto.TrialReadingCriterionId, null); return (await _iReadingImageTaskService.GetReadingQuestion(inDto.TrialReadingCriterionId, null),true);
} }
@ -94,11 +94,11 @@ namespace IRaCIS.Application.Services
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
public async Task<GetReadingTableQuestionOutDto> GetCustomTableQuestionPreview(GetCustomQuestionPreviewInDto inDto) public async Task<(GetReadingTableQuestionOutDto,bool)> GetCustomTableQuestionPreview(GetCustomQuestionPreviewInDto inDto)
{ {
List<ReadingTableQuestionAnswerInfo> tableAnswers = new List<ReadingTableQuestionAnswerInfo>(); List<ReadingTableQuestionAnswerInfo> tableAnswers = new List<ReadingTableQuestionAnswerInfo>();
List<TableAnsweRowInfo> tableAnsweRowInfos = new List<TableAnsweRowInfo>(); List<TableAnsweRowInfo> tableAnsweRowInfos = new List<TableAnsweRowInfo>();
return await _iReadingImageTaskService.GetReadingTableQuestion(inDto.TrialReadingCriterionId, null, tableAnswers, tableAnsweRowInfos); return (await _iReadingImageTaskService.GetReadingTableQuestion(inDto.TrialReadingCriterionId, null, tableAnswers, tableAnsweRowInfos),true);
} }
/// <summary> /// <summary>