From e96bed80732011c0df6a249065631e206f620ecb Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 16 Jun 2022 13:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reading/Dto/ReadingQuestionViewModel.cs | 20 +++++++++++++++++++ .../Service/Reading/ReadingQuestionService.cs | 5 +++++ .../Reading/ReadingQuestionSystem.cs | 5 +++++ .../Reading/ReadingQuestionTrial.cs | 5 +++++ 4 files changed, 35 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs index 02873c188..15b46b7ee 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs @@ -144,6 +144,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public Guid? ParentId { get; set; } + /// + /// 备注 + /// + public string Remark { get; set; } + /// /// 类型值 @@ -167,6 +172,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public Guid Id { get; set; } + /// + /// 备注 + /// + public string Remark { get; set; } + /// /// 系统标准Id /// @@ -358,6 +368,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto public bool IsJudgeQuestion { get; set; } = false; + /// + /// 备注 + /// + public string Remark { get; set; } = string.Empty; + /// /// 类型值 /// @@ -388,6 +403,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public bool IsJudgeQuestion { get; set; } = false; + /// + /// 备注 + /// + public string Remark { get; set; } = string.Empty; + /// /// 类型 /// diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs index 93d2ffad6..a0b33021c 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs @@ -260,6 +260,7 @@ namespace IRaCIS.Application.Services IsEnable = false, ReadingQuestionCriterionSystemId = x.Id, TrialId = trialId, + IsCompleteConfig=x.IsCompleteConfig, Id = NewId.NextGuid(), }; List systemQuestionList = x.ReadingQuestionSystemList.Clone(); @@ -299,6 +300,8 @@ namespace IRaCIS.Application.Services ReadingQuestionCriterionTrialId = ReadingQuestionCriterionTrialId, TrialId = trialId, Type = quesiton.Type, + IsJudgeQuestion=quesiton.IsJudgeQuestion, + Remark=quesiton.Remark, TypeValue = quesiton.TypeValue, }); @@ -335,6 +338,8 @@ namespace IRaCIS.Application.Services ReadingQuestionCriterionTrialId = ReadingQuestionCriterionTrialId, TrialId = trialId, Type = quesiton.Type, + IsJudgeQuestion = quesiton.IsJudgeQuestion, + Remark = quesiton.Remark, TypeValue = quesiton.TypeValue, }); diff --git a/IRaCIS.Core.Domain/Reading/ReadingQuestionSystem.cs b/IRaCIS.Core.Domain/Reading/ReadingQuestionSystem.cs index 41f0492d6..6b7282374 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingQuestionSystem.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingQuestionSystem.cs @@ -70,6 +70,11 @@ namespace IRaCIS.Core.Domain.Models /// public bool IsJudgeQuestion { get; set; } + /// + /// 备注 + /// + public string Remark { get; set; } + /// /// 创建人 /// diff --git a/IRaCIS.Core.Domain/Reading/ReadingQuestionTrial.cs b/IRaCIS.Core.Domain/Reading/ReadingQuestionTrial.cs index 0e08edd55..8abf83f86 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingQuestionTrial.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingQuestionTrial.cs @@ -68,6 +68,11 @@ namespace IRaCIS.Core.Domain.Models /// public bool IsJudgeQuestion { get; set; } + /// + /// 备注 + /// + public string Remark { get; set; } + /// /// 创建时间 ///