获取项目阅片标准各访视的裁判规则配置 已经排除的访视 在获取的时候 不返回
continuous-integration/drone/push Build is running Details

Test_IRC_Net10
he 2026-08-12 14:11:04 +08:00
parent 969341380d
commit 4e2fc0d2d9
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)