裁判表单返回ShowQuestion
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net10
he 2026-08-18 13:57:01 +08:00
parent 1094c8ce2a
commit e291953d09
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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,