From e0d463e24fd2fb9c4dda4daf7e33991df560879a Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Wed, 26 Jun 2024 00:38:04 +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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs index 4569729..c42096a 100644 --- a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs +++ b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs @@ -238,7 +238,8 @@ namespace Shentun.WebPeis.AppointPatientRegisters on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId where appointPatientRegister.MedicalCenterId == medicalCenterId && appointPatientRegister.AppointDate >= input.AppointStartDate && - appointPatientRegister.AppointDate < input.AppointStopDate + appointPatientRegister.AppointDate < input.AppointStopDate && + appointPatientRegister.CustomerOrgId == GuidFlag.PersonCustomerOrgId orderby appointPatientRegister.AppointDate select new { @@ -345,8 +346,8 @@ namespace Shentun.WebPeis.AppointPatientRegisters join customerOrg in await _customerOrgRepository.GetQueryableAsync() on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId where appointPatientRegister.PersonId == input.PersonId && - appointPatientRegister.CompleteFlag != AppointPatientRegisterCompleteFlag.CancelAppoint && - appointPatientRegister.CustomerOrgId == GuidFlag.PersonCustomerOrgId + appointPatientRegister.CompleteFlag != AppointPatientRegisterCompleteFlag.CancelAppoint + orderby appointPatientRegister.AppointDate select new {