From d57a60be46a9193d293e2c38014ff47a2c7354d9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Wed, 19 Jun 2024 18:46:27 +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 | 2 +- .../MedicalPackages/MedicalPackageAppservice.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs index 95bbae6..78a0027 100644 --- a/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs +++ b/src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs @@ -761,7 +761,7 @@ namespace Shentun.WebPeis.AppointPatientRegisters var medicalPackages = await _medicalPackageRepository.GetListAsync(o => o.IsActive == 'Y' && o.IsWebAppoint == 'Y' && o.IsBasicRecommend == 'Y' && (o.ForSexId == ForSexFlag.All || o.ForSexId == person.SexId) && - o.AgeUpperLimit <= age && o.AgeLowerLimit >= age); + o.AgeUpperLimit >= age && o.AgeLowerLimit <= age); if (person.MaritalStatusId == MaritalStatusFlag.UnMarried) { //未婚 diff --git a/src/Shentun.WebPeis.Application/MedicalPackages/MedicalPackageAppservice.cs b/src/Shentun.WebPeis.Application/MedicalPackages/MedicalPackageAppservice.cs index 93aa05d..cded1d3 100644 --- a/src/Shentun.WebPeis.Application/MedicalPackages/MedicalPackageAppservice.cs +++ b/src/Shentun.WebPeis.Application/MedicalPackages/MedicalPackageAppservice.cs @@ -57,7 +57,7 @@ namespace Shentun.WebPeis.MedicalPackages var medicalPackages = await _repository.GetListAsync(o => o.IsActive == 'Y' && o.IsWebAppoint == 'Y' && (o.ForSexId == ForSexFlag.All || o.ForSexId == person.SexId) && - o.AgeUpperLimit <= age && o.AgeLowerLimit >= age); + o.AgeUpperLimit >= age && o.AgeLowerLimit <= age); if (person.MaritalStatusId == MaritalStatusFlag.UnMarried) { @@ -110,7 +110,7 @@ namespace Shentun.WebPeis.MedicalPackages var medicalPackages = await _repository.GetListAsync(o => o.IsActive == 'Y' && o.IsWebAppoint == 'Y' && o.IsBasicRecommend == 'Y' && (o.ForSexId == ForSexFlag.All || o.ForSexId == person.SexId) && - o.AgeUpperLimit <= age && o.AgeLowerLimit >= age); + o.AgeUpperLimit >= age && o.AgeLowerLimit <= age); if (person.MaritalStatusId == MaritalStatusFlag.UnMarried) {