修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
53f3bb5d6d
commit
8ec35d90fb
|
@ -1621,6 +1621,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public string FileType { get; set; } = string.Empty;
|
||||
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字典code
|
||||
/// </summary>
|
||||
|
@ -2084,6 +2086,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public dynamic Answer { get; set; }
|
||||
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
public JudgeReadingQuestionType QuestionType { get; set; } = JudgeReadingQuestionType.Question;
|
||||
|
||||
}
|
||||
|
|
|
@ -301,6 +301,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
LimitEdit = y.LimitEdit,
|
||||
MaxAnswerLength = y.MaxAnswerLength,
|
||||
FileType = y.FileType,
|
||||
Unit=y.Unit,
|
||||
QuestionGenre = y.QuestionGenre,
|
||||
ShowOrder = y.ShowOrder,
|
||||
DictionaryCode = y.DictionaryCode,
|
||||
|
@ -390,6 +391,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
DictionaryCode = lr.question.DictionaryCode,
|
||||
GlobalReadingShowType = lr.question.GlobalReadingShowType,
|
||||
Type = lr.question.Type,
|
||||
Unit = y.Unit,
|
||||
GlobalAnswerType = GlobalAnswerType.Question,
|
||||
AnswerGroup = lr.question.AnswerGroup,
|
||||
AnswerCombination = lr.question.AnswerCombination,
|
||||
|
|
|
@ -161,6 +161,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
.Select(x => new GlobalVisitJudgeQuestion()
|
||||
{
|
||||
Answer = x.Answer,
|
||||
Type= x.ReadingQuestionTrial.Type,
|
||||
Unit= x.ReadingQuestionTrial.Unit,
|
||||
ShowOrder = x.ReadingQuestionTrial.ShowOrder,
|
||||
VisitTaskId = x.VisitTaskId,
|
||||
QuestionId = x.ReadingQuestionTrial.Id,
|
||||
|
@ -174,6 +176,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
.Select(x => new GlobalVisitJudgeQuestion()
|
||||
{
|
||||
Answer = x.Answer,
|
||||
Type = x.ReadingQuestionTrial.Type,
|
||||
Unit = x.ReadingQuestionTrial.Unit,
|
||||
ShowOrder = x.ReadingQuestionTrial.ShowOrder,
|
||||
VisitTaskId = x.VisitTaskId,
|
||||
QuestionId = x.ReadingQuestionTrial.Id,
|
||||
|
@ -204,6 +208,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
.Select(x => new JudgeQuestion()
|
||||
{
|
||||
Answer = x.Answer,
|
||||
Type = x.Type,
|
||||
Unit = x.Unit,
|
||||
QuestionId = x.QuestionId,
|
||||
QuestionName = x.QuestionName,
|
||||
QuestionGenre = x.QuestionGenre,
|
||||
|
@ -223,6 +229,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
.Select(x => new JudgeQuestion()
|
||||
{
|
||||
Answer = x.Answer,
|
||||
Type = x.Type,
|
||||
Unit = x.Unit,
|
||||
QuestionId = x.QuestionId,
|
||||
QuestionName = x.QuestionName,
|
||||
QuestionGenre = x.QuestionGenre,
|
||||
|
@ -254,6 +262,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
.Select(x => new JudgeQuestion()
|
||||
{
|
||||
Answer = x.Answer,
|
||||
Type = x.ReadingQuestionTrial.Type,
|
||||
Unit = x.ReadingQuestionTrial.Unit,
|
||||
QuestionId = x.ReadingQuestionTrial.Id,
|
||||
QuestionName = x.ReadingQuestionTrial.QuestionName.LanguageName(x.ReadingQuestionTrial.QuestionEnName, _userInfo.IsEn_Us),
|
||||
QuestionGenre = x.ReadingQuestionTrial.QuestionGenre,
|
||||
|
@ -302,6 +312,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
{
|
||||
|
||||
Answer = x.Answer,
|
||||
Type = x.Type,
|
||||
Unit = x.Unit,
|
||||
QuestionId = x.QuestionId!.Value,
|
||||
QuestionName = x.QuestionName,
|
||||
QuestionGenre = x.QuestionGenre,
|
||||
|
@ -342,6 +354,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
{
|
||||
|
||||
Answer = x.Answer,
|
||||
Type = x.Type,
|
||||
Unit = x.Unit,
|
||||
QuestionId = x.QuestionId == null ? default(Guid) : x.QuestionId.Value,
|
||||
QuestionName = x.QuestionName,
|
||||
QuestionGenre = x.QuestionGenre,
|
||||
|
|
Loading…
Reference in New Issue