修改
continuous-integration/drone/push Build is pending
Details
continuous-integration/drone/push Build is pending
Details
parent
70e851e10d
commit
d52c23b5c4
|
|
@ -1209,13 +1209,16 @@ namespace IRaCIS.Core.Application.Service
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var questionIds = questionList.Where(x => x.QuestionId != null).Select(x => x.QuestionId!.Value).Distinct().ToList();
|
var questionIds = questionList.Where(x => x.QuestionId != null).Select(x => x.QuestionId!.Value).Distinct().ToList();
|
||||||
var excludedQuestionIds = await _readingQuestionTrialRepository
|
#region 这里是排除访视 但这里其实不用去除 因为就不会有答案
|
||||||
.Where(x => questionIds.Contains(x.Id) && x.ExcludeShowVisitList.Contains(visitNum))
|
|
||||||
.Select(x => x.Id)
|
//var excludedQuestionIds = await _readingQuestionTrialRepository
|
||||||
.ToListAsync();
|
// .Where(x => questionIds.Contains(x.Id) && x.ExcludeShowVisitList.Contains(visitNum))
|
||||||
questionList.RemoveAll(x => x.QuestionId != null && excludedQuestionIds.Contains(x.QuestionId.Value));
|
// .Select(x => x.Id)
|
||||||
|
// .ToListAsync();
|
||||||
|
//questionList.RemoveAll(x => x.QuestionId != null && excludedQuestionIds.Contains(x.QuestionId.Value));
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
if (judgeRule != JudgeRule.Difference || questionList.Count == 0)
|
if (judgeRule != JudgeRule.Difference || questionList.Count == 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue