问题修改
This commit is contained in:
@@ -1810,8 +1810,13 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
|
||||
public List<string> AnswerGroup { get; set; }
|
||||
|
||||
|
||||
public List<AnswerCombinationDto> AnswerCombination { get; set; }
|
||||
/// <summary>
|
||||
/// 裁判百分比或绝对值的相差值
|
||||
/// </summary>
|
||||
public decimal? JudgeDifferenceValue { get; set; }
|
||||
|
||||
|
||||
public List<AnswerCombinationDto> AnswerCombination { get; set; }
|
||||
|
||||
|
||||
|
||||
@@ -1821,8 +1826,13 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
public class GetTrialCriterionJudgeQuestionListOutDto
|
||||
{
|
||||
public Guid ReadingQuestionTrialId { get; set; }
|
||||
|
||||
public string QuestionName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 裁判百分比或绝对值的相差值
|
||||
/// </summary>
|
||||
public decimal? JudgeDifferenceValue { get; set; }
|
||||
|
||||
public string QuestionName { get; set; }
|
||||
|
||||
|
||||
public string PageName { get; set; }
|
||||
|
||||
@@ -46,7 +46,8 @@ namespace IRaCIS.Application.Services
|
||||
QuestionGenre=x.QuestionGenre,
|
||||
DictionaryCode=x.DictionaryCode,
|
||||
JudgeType = x.JudgeType,
|
||||
ReadingQuestionTrialId = x.Id
|
||||
ReadingQuestionTrialId = x.Id,
|
||||
JudgeDifferenceValue= x.JudgeDifferenceValue
|
||||
}).ToListAsync();
|
||||
|
||||
|
||||
@@ -70,7 +71,9 @@ namespace IRaCIS.Application.Services
|
||||
{
|
||||
AnswerGroup = JsonConvert.SerializeObject(inDto.AnswerGroup),
|
||||
AnswerCombination = JsonConvert.SerializeObject(inDto.AnswerCombination),
|
||||
JudgeType = inDto.JudgeType,
|
||||
JudgeDifferenceValue= inDto.JudgeDifferenceValue,
|
||||
|
||||
JudgeType = inDto.JudgeType,
|
||||
});
|
||||
|
||||
var result = await _readingQuestionTrialRepository.SaveChangesAsync();
|
||||
|
||||
Reference in New Issue
Block a user