From 1f7e24b49db6fd1f018fbb704acd68bc5f0f8d11 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Wed, 26 Jun 2024 16:05:48 +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 --- .../AppointPatientRegisterAppService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs index c42096a..7dfaa46 100644 --- a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs +++ b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs @@ -539,7 +539,8 @@ namespace Shentun.WebPeis.AppointPatientRegisters where user.Id == input.PersonId && (patientRegister.CompleteFlag == PatientRegisterCompleteFlag.PreRegistration || patientRegister.CompleteFlag == PatientRegisterCompleteFlag.Registration) && - patientRegister.MedicalStartDate >= DateTime.Now.Date.AddDays(-365) + patientRegister.CustomerOrgId != GuidFlag.PersonCustomerOrgId && + patientRegister.MedicalStartDate >= DateTime.Now.Date.AddDays(-365) orderby patientRegister.MedicalStartDate descending select new PatientRegisterDto() {