This commit is contained in:
he
2022-09-16 14:51:55 +08:00
parent 6be2b2183a
commit 405b0c6e59
5 changed files with 18 additions and 1 deletions
@@ -1026,6 +1026,8 @@ namespace IRaCIS.Core.Application.Service.Allocation
#endregion
var readingTool = await _trialRepository.Where(x => x.Id == iRUnReadSubjectQuery.TrialId).Select(x => x.ReadingTool).FirstNotNullAsync();
#region Subject
var isReadingTaskViewInOrder = await _trialRepository.Where(x => x.Id == iRUnReadSubjectQuery.TrialId).Select(x => x.IsReadingTaskViewInOrder).FirstOrDefaultAsync();
if (isReadingTaskViewInOrder)
@@ -1064,6 +1066,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
{
RandomReadInfo = new IRUnReadOutDto(),
IsReadingTaskViewInOrder = isReadingTaskViewInOrder,
ReadingTool = readingTool,
});
}
else
@@ -1086,6 +1089,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
{
IsReadingTaskViewInOrder = isReadingTaskViewInOrder,
RandomReadInfo = iRUnReadOut,
ReadingTool= readingTool,
});
}