获取下一个阅片任务新增裁判配置
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
2e35733638
commit
969341380d
|
|
@ -2199,6 +2199,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public DefaultSegmentNameDto DefaultSegmentName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仲裁模式
|
||||
/// </summary>
|
||||
public JudgeMode JudgeModeEnum { get; set; } = JudgeMode.SelectOne;
|
||||
|
||||
/// <summary>
|
||||
/// 裁判规则
|
||||
/// </summary>
|
||||
public JudgeRule JudgeRuleEnum { get; set; } = JudgeRule.Consistent;
|
||||
|
||||
}
|
||||
|
||||
public class GetReadingImgInDto
|
||||
|
|
|
|||
|
|
@ -3935,6 +3935,9 @@ namespace IRaCIS.Core.Application.Service
|
|||
x.ReadingToolList,
|
||||
x.CircleRadius,
|
||||
x.DefaultSegmentName,
|
||||
x.JudgeGenerateEnum,
|
||||
x.JudgeModeEnum,
|
||||
x.JudgeRuleEnum,
|
||||
}).FirstNotNullAsync();
|
||||
|
||||
task.IsReadingShowPreviousResults = criterionInfo.IsReadingShowPreviousResults;
|
||||
|
|
@ -3998,6 +4001,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
task.IsViewStudyPart = visitTaskInfo.ReadingCategory == ReadingCategory.Judge || visitTaskInfo.IsViewStudyPart;
|
||||
task.IsReadKeyFile = await _criterionKeyFileReadRepository.AnyAsync(x => x.IdentityUserId == _userInfo.IdentityUserId && x.TrialCriterionId == task.TrialReadingCriterionId);
|
||||
task.IsHaveKeyFile = await _trialCriterionKeyFileRepository.AnyAsync(x => x.TrialCriterionId == task.TrialReadingCriterionId);
|
||||
task.JudgeModeEnum = criterionInfo.JudgeModeEnum;
|
||||
task.JudgeRuleEnum = criterionInfo.JudgeRuleEnum;
|
||||
// 添加默认答案
|
||||
if (inDto.VisitTaskId == null && visitTaskInfo.ReadingTaskState != ReadingTaskState.HaveSigned)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue