From d34f3f157628246353bddb45d2d0dd7453e80e4c Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 18 Mar 2025 15:20:05 +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/DTO/DoctorModel.cs | 4 ++++ IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs | 2 ++ 2 files changed, 6 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs b/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs index 721359c42..871908244 100644 --- a/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs +++ b/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs @@ -204,6 +204,8 @@ namespace IRaCIS.Application.Contracts public string City { get; set; } = string.Empty; public string HospitalName { get; set; } = string.Empty; + + public string HospitalNameCN { get; set; } = string.Empty; public string Country { get; set; } = string.Empty; } @@ -265,6 +267,8 @@ namespace IRaCIS.Application.Contracts public List SubspecialityIds => DictionaryList.Where(t => t.ParentCode == StaticData.Subspeciality).OrderBy(t => t.ShowOrder).Select(t => t.Id).ToList(); public Guid? HospitalId { get; set; } + + } diff --git a/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs b/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs index cb4a52055..1a01c00d9 100644 --- a/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs @@ -210,6 +210,8 @@ namespace IRaCIS.Core.Application.Service .ForMember(d => d.SpecialityCN, u => u.MapFrom(s => s.Doctor.Speciality.ValueCN)) .ForMember(d => d.Id, u => u.MapFrom(s => s.Doctor.Id)) .ForMember(d => d.Code, u => u.MapFrom(s => s.DoctorUser.UserName)) + .ForMember(d => d.HospitalName, u => u.MapFrom(s => s.Doctor.HospitalName)) + .ForMember(d => d.HospitalNameCN, u => u.MapFrom(s => s.Doctor.HospitalNameCN)) ; CreateMap(); CreateMap();