Browse Source

预约

master
DESKTOP-G961P6V\Zhh 1 year ago
parent
commit
e0d463e24f
  1. 7
      src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs

7
src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs

@ -238,7 +238,8 @@ namespace Shentun.WebPeis.AppointPatientRegisters
on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId
where appointPatientRegister.MedicalCenterId == medicalCenterId && where appointPatientRegister.MedicalCenterId == medicalCenterId &&
appointPatientRegister.AppointDate >= input.AppointStartDate && appointPatientRegister.AppointDate >= input.AppointStartDate &&
appointPatientRegister.AppointDate < input.AppointStopDate
appointPatientRegister.AppointDate < input.AppointStopDate &&
appointPatientRegister.CustomerOrgId == GuidFlag.PersonCustomerOrgId
orderby appointPatientRegister.AppointDate orderby appointPatientRegister.AppointDate
select new select new
{ {
@ -345,8 +346,8 @@ namespace Shentun.WebPeis.AppointPatientRegisters
join customerOrg in await _customerOrgRepository.GetQueryableAsync() join customerOrg in await _customerOrgRepository.GetQueryableAsync()
on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId
where appointPatientRegister.PersonId == input.PersonId && where appointPatientRegister.PersonId == input.PersonId &&
appointPatientRegister.CompleteFlag != AppointPatientRegisterCompleteFlag.CancelAppoint &&
appointPatientRegister.CustomerOrgId == GuidFlag.PersonCustomerOrgId
appointPatientRegister.CompleteFlag != AppointPatientRegisterCompleteFlag.CancelAppoint
orderby appointPatientRegister.AppointDate orderby appointPatientRegister.AppointDate
select new select new
{ {

Loading…
Cancel
Save