From 2f3cc3c15d15f0d58637464bfcb11c0978c56266 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Thu, 6 Jun 2024 01:17:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PatientRegisters/PatientRegisterDto.cs | 1 + .../AppointPatientRegisterAppService.cs | 3 ++- src/Shentun.WebPeis.Application/Persons/PersonAppService.cs | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Shentun.WebPeis.Application.Contracts/PatientRegisters/PatientRegisterDto.cs b/src/Shentun.WebPeis.Application.Contracts/PatientRegisters/PatientRegisterDto.cs index 46890f5..a88b4af 100644 --- a/src/Shentun.WebPeis.Application.Contracts/PatientRegisters/PatientRegisterDto.cs +++ b/src/Shentun.WebPeis.Application.Contracts/PatientRegisters/PatientRegisterDto.cs @@ -47,6 +47,7 @@ namespace Shentun.WebPeis.PatientRegisters /// public Guid? MedicalPackageId { get; set; } public string? MedicalPackageName { get; set; } + public decimal? ChargeMoney { get; set; } /// /// 姓名 diff --git a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs index 3922d71..12873dd 100644 --- a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs +++ b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs @@ -468,7 +468,8 @@ namespace Shentun.WebPeis.AppointPatientRegisters ChildCustomerOrgName = customerOrg.CustomerOrgName, CustomerOrgRegisterId = patientRegister.CustomerOrgRegisterId, CustomerOrgGroupId = patientRegister.CustomerOrgGroupId, - CustomerOrgGroupName = haveCustomerOrgGroup == null?"": haveCustomerOrgGroup.CustomerOrgGroupName + CustomerOrgGroupName = haveCustomerOrgGroup == null?"": haveCustomerOrgGroup.CustomerOrgGroupName, + ChargeMoney = haveCustomerOrgGroup == null ? 0:haveCustomerOrgGroup.Price }).FirstOrDefault(); if (patientRegisterDto == null) { diff --git a/src/Shentun.WebPeis.Application/Persons/PersonAppService.cs b/src/Shentun.WebPeis.Application/Persons/PersonAppService.cs index 58adae8..a023757 100644 --- a/src/Shentun.WebPeis.Application/Persons/PersonAppService.cs +++ b/src/Shentun.WebPeis.Application/Persons/PersonAppService.cs @@ -444,6 +444,7 @@ namespace Shentun.WebPeis.Persons throw new Exception("手机号必须是11位长"); } //发送短信 + //存储短信校验码 _cache.Set(phone, msg); }