修改一版

This commit is contained in:
he
2022-11-01 17:00:15 +08:00
parent a16df03465
commit 8307121d0d
3 changed files with 27 additions and 16 deletions
@@ -49,6 +49,11 @@ namespace IRaCIS.Application.Services
[HttpPost]
public async Task<(GetTrialReadingQuestionPageDto, object)> GetTrialReadingQuestion(GetTrialReadingQuestionInDto inDto)
{
if (inDto.VisitTaskId != null)
{
await AddDefaultValueToTask(inDto.VisitTaskId.Value);
}
var result = new GetTrialReadingQuestionPageDto();
var readingTaskState = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Select(x => x.ReadingTaskState).FirstOrDefaultAsync();