From 5598385a5c70ee61c334797e49af53b6ba3d134d Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 29 Aug 2024 11:01:10 +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 --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 83bcad7a4..2a7d20bec 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -760,7 +760,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common SelectList = selectList.Join(list, t => t.Id, u => u.DictionaryId, (t, u) => new { - Value = _userInfo.IsEn_Us ? t.Value : t.ValueCN, + Value =t.Value , t.ValueCN, t.Description, t.ShowOrder, @@ -2809,7 +2809,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common //获取问题名称 组合成数组 var quesionList = await _dbContext.ReadingQuestionTrial.Where(t => taskQuestionAnswerList.Select(k => k.ReadingQuestionTrialId).Contains(t.Id)).IgnoreQueryFilters().Select(t => new { - QuestionName=_userInfo.IsEn_Us?t.QuestionEnName: t.QuestionName, + QuestionName=t.QuestionName, t.QuestionEnName, QuestionId = t.Id, t.DictionaryCode, @@ -3118,7 +3118,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common var quesionList = await _dbContext.ReadingQuestionTrial.Where(t => questionIdList.Contains(t.Id)).Select(t => new { - QuestionName=_userInfo.IsEn_Us?t.QuestionEnName: t.QuestionName, + QuestionName=t.QuestionName, t.QuestionEnName, QuestionId = t.Id, t.DictionaryCode, @@ -3136,7 +3136,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common { TaskBlindName = u.VisitTask.TaskBlindName, QuestionId = u.ReadingQuestionTrialId, - QuestionName= _userInfo.IsEn_Us ? u.ReadingQuestionTrial.QuestionEnName : u.ReadingQuestionTrial.QuestionName, + QuestionName= u.ReadingQuestionTrial.QuestionName, u.ReadingQuestionTrial.QuestionEnName, u.ReadingQuestionTrial.DictionaryCode, u.ReadingQuestionTrial.ShowOrder,