获取项目阅片标准各访视的裁判规则配置 已经排除的访视 在获取的时候 不返回

Uat_IRC_Net10
he 2026-08-12 14:11:04 +08:00
parent b6ad1722f6
commit 07bd02d3c8
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ namespace IRaCIS.Core.Application.Service
public async Task<List<TrialQuestionVisitJudgeRuleItemDto>> GetTrialQuestionVisitJudgeRule(GetTrialQuestionVisitJudgeRuleInDto inDto)
{
var questionList = await _readingQuestionTrialRepository
.Where(x=>!x.ExcludeShowVisitList.Contains(inDto.VisitNum))
.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialReadingCriterionId && x.IsJudgeQuestion)
.WhereIf(inDto.ReadingQuestionId != null, x => x.Id == inDto.ReadingQuestionId)
.OrderBy(x => x.ShowOrder)