From 50667bddfba039c95d12adc4db52c525bc279b27 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 12 Nov 2024 14:43:18 +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/Doctor/_MapConfig.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs b/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs index b8d4e9034..1301cccff 100644 --- a/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs @@ -68,7 +68,8 @@ namespace IRaCIS.Core.Application.Service CreateMap(); CreateMap(); CreateMap() - .ForMember(t => t.HospitalCN, c => c.MapFrom(d => isEn_Us ? d.HospitalEnt.HospitalName : d.HospitalEnt.HospitalNameCN)); + .ForMember(t => t.Hospital, c => c.MapFrom(d => d.HospitalEnt.HospitalName)) + .ForMember(t => t.HospitalCN, c => c.MapFrom(d => d.HospitalEnt.HospitalNameCN)); CreateMap(); CreateMap();