From 65949907e8eb8d190804f003cf8f68caab07e508 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Tue, 23 Apr 2024 11:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E6=A3=80=E6=8A=A5=E5=91=8A=E5=A9=9A?= =?UTF-8?q?=E5=A7=BB=E7=8A=B6=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PrintReports/MedicalReportDto.cs | 2 ++ .../PrintReports/PrintReportAppService.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/src/Shentun.Peis.Application.Contracts/PrintReports/MedicalReportDto.cs b/src/Shentun.Peis.Application.Contracts/PrintReports/MedicalReportDto.cs index ec37ec9..aacb9df 100644 --- a/src/Shentun.Peis.Application.Contracts/PrintReports/MedicalReportDto.cs +++ b/src/Shentun.Peis.Application.Contracts/PrintReports/MedicalReportDto.cs @@ -63,6 +63,8 @@ namespace Shentun.Peis.PrintReports /// 出生日期 /// public DateTime? BirthDate { get; set; } + + public string MaritalStatusName { get; set; } /// /// 民族名称 /// diff --git a/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs b/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs index f645cfb..f4b4146 100644 --- a/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs +++ b/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs @@ -315,6 +315,7 @@ namespace Shentun.Peis.PrintReports SexName = _cacheService.GetSexNameAsync(patientRegister.SexId).Result, BirthDate = patientRegister.BirthDate, Age = patientRegister.Age, + MaritalStatusName = _cacheService.GetMaritalStatusNameAsync(patientRegister.MaritalStatusId).Result, NationName = _cacheService.GetNationNameAsync(patientRegister.Patient.NationId).Result, MobileTelephone = patientRegister.Patient.MobileTelephone, IsVip = patientRegister.IsVip,