修改一版

This commit is contained in:
he
2022-06-16 11:17:19 +08:00
parent 6b00653569
commit bb181075a5
6 changed files with 42 additions and 5 deletions
@@ -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]
@@ -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>