获取下一个阅片任务新增裁判配置
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>
|
/// </summary>
|
||||||
public DefaultSegmentNameDto DefaultSegmentName { get; set; }
|
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
|
public class GetReadingImgInDto
|
||||||
|
|
|
||||||
|
|
@ -3935,6 +3935,9 @@ namespace IRaCIS.Core.Application.Service
|
||||||
x.ReadingToolList,
|
x.ReadingToolList,
|
||||||
x.CircleRadius,
|
x.CircleRadius,
|
||||||
x.DefaultSegmentName,
|
x.DefaultSegmentName,
|
||||||
|
x.JudgeGenerateEnum,
|
||||||
|
x.JudgeModeEnum,
|
||||||
|
x.JudgeRuleEnum,
|
||||||
}).FirstNotNullAsync();
|
}).FirstNotNullAsync();
|
||||||
|
|
||||||
task.IsReadingShowPreviousResults = criterionInfo.IsReadingShowPreviousResults;
|
task.IsReadingShowPreviousResults = criterionInfo.IsReadingShowPreviousResults;
|
||||||
|
|
@ -3998,6 +4001,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
task.IsViewStudyPart = visitTaskInfo.ReadingCategory == ReadingCategory.Judge || visitTaskInfo.IsViewStudyPart;
|
task.IsViewStudyPart = visitTaskInfo.ReadingCategory == ReadingCategory.Judge || visitTaskInfo.IsViewStudyPart;
|
||||||
task.IsReadKeyFile = await _criterionKeyFileReadRepository.AnyAsync(x => x.IdentityUserId == _userInfo.IdentityUserId && x.TrialCriterionId == task.TrialReadingCriterionId);
|
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.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)
|
if (inDto.VisitTaskId == null && visitTaskInfo.ReadingTaskState != ReadingTaskState.HaveSigned)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue