From b102d23477a2751db6f682091e6345d119e92ef7 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 12 Mar 2024 14:30:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=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, 3 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs index 4de2b3f2c..09e7465cb 100644 --- a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs +++ b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs @@ -530,6 +530,7 @@ namespace IRaCIS.Core.Application.Service var maxOrder = await _readingMedicineTrialQuestionRepository.Where(x => x.TrialId == inDto.TrialId && x.TrialReadingCriterionId == inDto.TrialReadingCriterionId).OrderByDescending(x => x.ShowOrder).Select(x => x.ShowOrder).FirstOrDefaultAsync(); List needList = await _readingMedicineSystemQuestionRepository + .Where(x=>x.IsEnable) .Where(x=>x.LanguageType==inDto.LanguageType) .Where(x =>needAddCategory.Contains(x.ReadingCategory) && x.CriterionTypeEnum == criterionInfo.CriterionType) .Select(x => new TrialDataFromSystem() @@ -554,6 +555,7 @@ namespace IRaCIS.Core.Application.Service if (!needList.Any(x => x.ReadingCategory == item)) { needList.AddRange(await _readingMedicineSystemQuestionRepository + .Where(x => x.IsEnable) .Where(x => x.LanguageType == inDto.LanguageType) .Where(x => x.ReadingCategory == item && x.IsGeneral) .Select(x => new TrialDataFromSystem() @@ -561,6 +563,7 @@ namespace IRaCIS.Core.Application.Service ShowOrder = x.ShowOrder, IsEnable = x.IsEnable, + LanguageType = x.LanguageType, IsRequired = x.IsRequired, QuestionName = x.QuestionName,