|
|
|
@ -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) |
|
|
|
{ |
|
|
|
|