无序阅片随机顺序

IRC_NewDev
he 2023-09-05 13:39:13 +08:00
parent 35f5a362e3
commit b006fff6ed
1 changed files with 3 additions and 1 deletions

View File

@ -2307,6 +2307,8 @@ namespace IRaCIS.Application.Services
throw new BusinessValidationFailedException(_localizer["ReadingImage_IDMust"]);
}
var trialReadingCriterion = await _readingQuestionCriterionTrialRepository.FindAsync(trialReadingCriterionId ?? Guid.Empty);
if (inDto.VisitTaskId != null)
{
task = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Select(x => new GetReadingTaskDto()
@ -2325,7 +2327,7 @@ namespace IRaCIS.Application.Services
trialReadingCriterionId = task.TrialReadingCriterionId;
}
else if (inDto.SubjectId != null)
else if (inDto.SubjectId != null && trialReadingCriterion.IsReadingTaskViewInOrder)
{
var subjectTaskList = (await _visitTaskService.GetOrderReadingIQueryable(new GetOrderReadingIQueryableInDto()
{