编辑修改
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net10
he 2026-08-17 17:10:31 +08:00
parent 23ae346cee
commit afeebf662b
1 changed files with 1 additions and 4 deletions

View File

@ -103,10 +103,7 @@ namespace IRaCIS.Core.Application.Service
[HttpPost]
public async Task<IResponseOutput> SetTrialQuestionVisitJudgeRule(SetTrialQuestionVisitJudgeRuleInDto inDto)
{
var questionIds = await _readingQuestionTrialRepository
.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialReadingCriterionId && x.IsJudgeQuestion)
.Select(x => x.Id)
.ToListAsync();
var questionIds = inDto.QuestionList.Select(x => x.ReadingQuestionTrialId).ToList();
await _readingQuestionVisitJudgeRuleRepository.BatchDeleteNoTrackingAsync(x =>
x.VisitNum == inDto.VisitNum && questionIds.Contains(x.ReadingQuestionId));