GetNextTask 新增 ArbitrationRule
parent
07bd02d3c8
commit
046715fd07
|
|
@ -2209,6 +2209,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public JudgeRule JudgeRuleEnum { get; set; } = JudgeRule.Consistent;
|
||||
|
||||
/// <summary>
|
||||
/// 仲裁对象
|
||||
/// </summary>
|
||||
public ArbitrationRule ArbitrationRule { get; set; } = ArbitrationRule.Reading;
|
||||
|
||||
}
|
||||
|
||||
public class GetReadingImgInDto
|
||||
|
|
|
|||
|
|
@ -3924,6 +3924,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
x.JudgeGenerateEnum,
|
||||
x.JudgeModeEnum,
|
||||
x.JudgeRuleEnum,
|
||||
x.ArbitrationRule,
|
||||
}).FirstNotNullAsync();
|
||||
|
||||
task.IsReadingShowPreviousResults = criterionInfo.IsReadingShowPreviousResults;
|
||||
|
|
@ -3989,6 +3990,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
task.IsHaveKeyFile = await _trialCriterionKeyFileRepository.AnyAsync(x => x.TrialCriterionId == task.TrialReadingCriterionId);
|
||||
task.JudgeModeEnum = criterionInfo.JudgeModeEnum;
|
||||
task.JudgeRuleEnum = criterionInfo.JudgeRuleEnum;
|
||||
task.ArbitrationRule = criterionInfo.ArbitrationRule;
|
||||
// 添加默认答案
|
||||
if (inDto.VisitTaskId == null && visitTaskInfo.ReadingTaskState != ReadingTaskState.HaveSigned)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue