|
|
|
@ -628,6 +628,9 @@ namespace Shentun.Peis.PeisReports |
|
|
|
sumquery = sumquery.Where(m => m.patient.MobileTelephone == input.phone || m.patient.Telephone == input.phone); |
|
|
|
} |
|
|
|
|
|
|
|
if (input.SexId != null) |
|
|
|
sumquery = sumquery.Where(m => m.patientRegister.SexId == input.SexId); |
|
|
|
|
|
|
|
if (input.CompleteFlag != null && input.CompleteFlag != PatientRegisterCompleteFlag.ItemCheckUnSumCheck) |
|
|
|
{ |
|
|
|
sumquery = sumquery.Where(m => m.patientRegister.CompleteFlag == input.CompleteFlag); |
|
|
|
|