裁判表单返回ShowQuestion
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1094c8ce2a
commit
e291953d09
|
|
@ -2500,6 +2500,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public Guid ReadingQuestionId { get; set; }
|
||||
public string QuestionName { get; set; } = string.Empty;
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
||||
public ShowQuestion ShowQuestion { get; set; }
|
||||
public string TypeValue { get; set; } = string.Empty;
|
||||
public int ShowOrder { get; set; }
|
||||
public string Answer { get; set; } = string.Empty;
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
ReadingQuestionId = x.Id,
|
||||
QuestionName = x.QuestionName.LanguageName(x.QuestionEnName, _userInfo.IsEn_Us),
|
||||
Type = x.Type,
|
||||
ShowQuestion = x.ShowQuestion,
|
||||
TypeValue = x.TypeValue,
|
||||
ShowOrder = x.ShowOrder,
|
||||
Answer = answers.FirstOrDefault(answer => answer.ReadingQuestionTrialId == x.Id)?.Answer ?? string.Empty,
|
||||
|
|
|
|||
Loading…
Reference in New Issue