diff --git a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs index a311a8b..4569729 100644 --- a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs +++ b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs @@ -346,7 +346,7 @@ namespace Shentun.WebPeis.AppointPatientRegisters on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId where appointPatientRegister.PersonId == input.PersonId && appointPatientRegister.CompleteFlag != AppointPatientRegisterCompleteFlag.CancelAppoint && - appointPatientRegister.CustomerOrgId != GuidFlag.PersonCustomerOrgId + appointPatientRegister.CustomerOrgId == GuidFlag.PersonCustomerOrgId orderby appointPatientRegister.AppointDate select new {