Corregido error al listas especialistas por especialidad médica.

Corregido error tipográfico en nombre de método/propiedades.
This commit is contained in:
Marcos Garcia Nuñez
2020-01-02 13:48:38 +01:00
parent 2fbd8cb08f
commit b12f3497fc
13 changed files with 53 additions and 56 deletions

View File

@@ -225,7 +225,7 @@ public class MedicalTestFacadeBean implements MedicalTestFacadeRemote {
entman.persist(mt);
}
public Long getSpecialistDoctorByMedicalSpecialityCount(int specialityId) {
public Long getSpecialistDoctorByMedicalSpecialtyCount(int specialityId) {
TypedQuery<Long> query = entman.createQuery("SELECT count(1) from SpecialistDoctorJPA q where q.medicalSpecialty.id=:specId", Long.class);
query.setParameter("specId", specialityId);
@@ -237,7 +237,7 @@ public class MedicalTestFacadeBean implements MedicalTestFacadeRemote {
*
* @param speciality
*/
public List<SpecialistDoctorTO> findSpecialistDoctorByMedicalSpeciality(int specialityId, int pageNumber, int pageSize) {
public List<SpecialistDoctorTO> findSpecialistDoctorByMedicalSpecialty(int specialityId, int pageNumber, int pageSize) {
List<SpecialistDoctorTO> pendingQuestions = new ArrayList<SpecialistDoctorTO>();
TypedQuery<SpecialistDoctorJPA> query = entman.createQuery(