|
|
|
@ -2329,6 +2329,11 @@ namespace Shentun.Peis.CustomerReports |
|
|
|
qeruy = qeruy.Where(m => CustomerOrgIds.Contains(m.patientRegister.CustomerOrgId)); |
|
|
|
} |
|
|
|
|
|
|
|
if (input.IsPreRegistration == 'N') |
|
|
|
{ |
|
|
|
qeruy = qeruy.Where(m => m.patientRegister.CompleteFlag != PatientRegisterCompleteFlag.PreRegistration); |
|
|
|
} |
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(input.StartDate) && !string.IsNullOrEmpty(input.EndDate)) |
|
|
|
{ |
|
|
|
if (input.DateType == '1') |
|
|
|
@ -2348,7 +2353,7 @@ namespace Shentun.Peis.CustomerReports |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var patientRegisterGroup = qeruy.ToList().GroupBy(g => g.patientRegister.Id); |
|
|
|
var patientRegisterGroupList = patientRegisterGroup.Select(s => new GetCustomerOrgPhysicalExaminationStatisticsPatientRegisterGroupDto |
|
|
|
{ |
|
|
|
|