From 70240da5c5ba9a6876515ba91df6f219bbfd614f Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 24 Oct 2024 16:10:14 +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.Application/Service/Reading/_MapConfig.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs index 1e88652d7..905ea7a4d 100644 --- a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs @@ -232,9 +232,11 @@ namespace IRaCIS.Core.Application.Service CreateMap() + .ForMember(d => d.QuestionId, u => u.MapFrom(s => s.Id)) .ForMember(d => d.QuestionName, u => u.MapFrom(s => isEn_Us ? s.QuestionEnName : s.QuestionName)); CreateMap() + .ForMember(d => d.QuestionId, u => u.MapFrom(s => s.Id)) .ForMember(d => d.QuestionName, u => u.MapFrom(s => isEn_Us ? s.QuestionEnName : s.QuestionName));