From 04a7476a97c680b9c0063761acda21f43f434e82 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 4 Aug 2022 16:44:36 +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/QC/DTO/TrialQCQuestionConfigureViewModel.cs | 2 +- IRaCIS.Core.Application/Service/QC/TrialQCQuestionService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/QC/DTO/TrialQCQuestionConfigureViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/TrialQCQuestionConfigureViewModel.cs index e53d5a3f9..4c2fa0e6d 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/TrialQCQuestionConfigureViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/TrialQCQuestionConfigureViewModel.cs @@ -89,7 +89,7 @@ namespace IRaCIS.Core.Application.Contracts public class TrialQCQuestionConfigureBatchAdd { - public Guid Id { get; set; } + public Guid? Id { get; set; } public string QuestionName { get; set; } = string.Empty; public bool IsRequired { get; set; } public bool IsEnable { get; set; } diff --git a/IRaCIS.Core.Application/Service/QC/TrialQCQuestionService.cs b/IRaCIS.Core.Application/Service/QC/TrialQCQuestionService.cs index 43e847dcf..1eb3379ed 100644 --- a/IRaCIS.Core.Application/Service/QC/TrialQCQuestionService.cs +++ b/IRaCIS.Core.Application/Service/QC/TrialQCQuestionService.cs @@ -143,7 +143,7 @@ namespace IRaCIS.Core.Application.Contracts batchList.ForEach(x => { x.ShowOrder= maxShowOrder++; - x.SystemQuestionId = x.Id; + x.SystemQuestionId = x.Id.Value; x.Id = NewId.NextGuid(); });