+10
@@ -266,6 +266,16 @@ namespace IRaCIS.Application.Services
|
||||
&& x.ReadingCategory == ReadingCategory.Global
|
||||
&& x.ReadingTaskState == ReadingTaskState.HaveSigned).Select(x => x.JudgeVisitTaskId).FirstOrDefaultAsync();
|
||||
|
||||
// 要判断是否为老裁判任务的Id
|
||||
if (judgeVisitTaskId != null)
|
||||
{
|
||||
// 如果不存在有效的裁判
|
||||
if (!(await _visitTaskRepository.AnyAsync(x => x.Id == judgeVisitTaskId && x.TaskState == TaskState.Effect)))
|
||||
{
|
||||
judgeVisitTaskId = null;
|
||||
}
|
||||
}
|
||||
|
||||
// 获取系统配置
|
||||
var readingType = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == readModuleInfo.TrialReadingCriterionId).Select(x => x.ReadingType).FirstOrDefaultAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user