修改一版

Uat_Study
he 2022-06-16 11:17:19 +08:00
parent 6b00653569
commit bb181075a5
6 changed files with 42 additions and 5 deletions

View File

@ -1734,6 +1734,11 @@
类型值
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.SetTrialQuestionIsIsJudgeQuestionInDto.IsJudgeQuestion">
<summary>
是否是裁判问题
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetTrialCriterionOtherQuestionInDto.Id">
<summary>
当前ID

View File

@ -226,6 +226,18 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary>
public string TypeValue { get; set; }
}
public class SetTrialQuestionIsIsJudgeQuestionInDto
{
[NotDefault]
public Guid Id { get; set; }
/// <summary>
/// 是否是裁判问题
/// </summary>
public bool IsJudgeQuestion { get; set; }
}
public class GetTrialCriterionOtherQuestionInDto
{
[NotDefault]

View File

@ -375,8 +375,6 @@ namespace IRaCIS.Application.Services
return ResponseOutput.Result(success);
}
/// <summary>
/// 新增修改项目问题(项目)
/// </summary>
@ -405,8 +403,6 @@ namespace IRaCIS.Application.Services
inDto.Asc);
}
/// <summary>
/// 获取项目标准的其他问题(项目)
/// </summary>
@ -432,6 +428,22 @@ namespace IRaCIS.Application.Services
return questionList;
}
///// <summary>
///// 设置问题为裁判问题
///// </summary>
///// <returns></returns>
//public async Task<IResponseOutput> SetTrialQuestionIsIsJudgeQuestion(SetTrialQuestionIsIsJudgeQuestionInDto inDto)
//{
// var trialCriterionId = (await _readingQuestionTrialRepository.FirstOrDefaultAsync(x => x.Id == inDto.Id)).IfNullThrowException();
// if (inDto.IsJudgeQuestion)
// {
// if()
// }
//}
/// <summary>
/// 删除项目问题(项目)
/// </summary>

View File

@ -40,9 +40,12 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public Guid CreateUserId { get; set; }
[ForeignKey("CriterionId")]
public List<ReadingQuestionSystem> ReadingQuestionSystemList { get; set; } = new List<ReadingQuestionSystem>();
public Dictionary Dictionary { get; set; }
}

View File

@ -63,6 +63,11 @@ namespace IRaCIS.Core.Domain.Models
public bool IsEnable { get; set; }
/// <summary>
/// 是否是裁判问题
/// </summary>
public bool IsJudgeQuestion { get; set; }
/// <summary>
/// 创建时间
/// </summary>