From 2d5c0733c48780ca4a7e155cde86c9d88cdec665 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Tue, 14 Jun 2022 10:51:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/Dto/ReadingQuestionViewModel.cs | 2 +- .../Service/Reading/ReadingQuestionService.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs index 900a32a0f..a80bf62cb 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs @@ -66,7 +66,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto [NotDefault] public Guid Id { get; set; } - [NotDefault] + public bool IsEnable { get; set; } } diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs index b6536edeb..ee3ad5583 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs @@ -233,6 +233,12 @@ namespace IRaCIS.Application.Services { var parentIdIsNullList = systemQuesitonList.Where(x => x.ParentId == null).ToList(); + //parentIdIsNullList.ForEach(x => { + // var oldId = x.Id.Clone();` + + + //}) + }