From efafdc50b8e876fc27bd8b371ea3b38e0d781e0b Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 7 Mar 2024 13:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E5=AD=A6=E5=AE=A1=E6=A0=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reading/MedicalAudit/ReadingMedicineQuestionService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs index 85db2e75a..f8ed6ee3a 100644 --- a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs +++ b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs @@ -532,7 +532,7 @@ namespace IRaCIS.Core.Application.Service .Where(x => x.CriterionTypeEnum == criterionInfo.CriterionType && needAddCategory.Contains(x.ReadingCategory)) .Select(x => new TrialDataFromSystem() { - Id = NewId.NextGuid(), + ShowOrder = x.ShowOrder, IsEnable = x.IsEnable, LanguageType = x.LanguageType, @@ -548,6 +548,7 @@ namespace IRaCIS.Core.Application.Service }).ToListAsync(); needList.ForEach(x => { + x.Id = NewId.NextGuid(); maxOrder++; x.ShowOrder = maxOrder; });