|
|
@ -268,9 +268,6 @@ public class PatientService implements IPatientService { |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageInfo<PatientVo.SelPatient> selPatientInformationList(PatientDto.SelPatientList param, Long userId) { |
|
|
|
PageHelper.startPage(param.getPageNum(),param.getPageSize()); |
|
|
|
|
|
|
|
|
|
|
|
if (param.getQueryAuthority() == Constant.QUERY_AUTHORITY_HOSPITAL) { |
|
|
|
List<DoctorVo.Detail> doctors = doctorDao.queryDetail(userId); |
|
|
|
for (DoctorVo.Detail doctor: doctors) { |
|
|
@ -284,6 +281,7 @@ public class PatientService implements IPatientService { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
PageHelper.startPage(param.getPageNum(),param.getPageSize()); |
|
|
|
List<PatientVo.SelPatient> selPatientList= patientDao.selPatientInformationList(param, userId); |
|
|
|
return new PageInfo<>(selPatientList); |
|
|
|
} |
|
|
|