Corrección de nombre de variable.
This commit is contained in:
@@ -481,19 +481,19 @@ public class CommonFacadeBean implements CommonFacadeRemote, CommonFacadeLocal {
|
|||||||
return qsTO;
|
return qsTO;
|
||||||
}
|
}
|
||||||
|
|
||||||
public VisitTO getPOJOforVisitJPA(VisitJPA qs, int nestedProps) {
|
public VisitTO getPOJOforVisitJPA(VisitJPA vi, int nestedProps) {
|
||||||
VisitTO qsTO = null;
|
VisitTO qsTO = null;
|
||||||
|
|
||||||
if (qs != null) {
|
if (vi != null) {
|
||||||
FamilyDoctorJPA fd = null;
|
FamilyDoctorJPA fd = null;
|
||||||
PatientJPA pat = null;
|
PatientJPA pat = null;
|
||||||
if (nestedProps > 0) {
|
if (nestedProps > 0) {
|
||||||
fd = qs.getFamilyDoctor();
|
fd = vi.getFamilyDoctor();
|
||||||
pat = qs.getPatient();
|
pat = vi.getPatient();
|
||||||
}
|
}
|
||||||
|
|
||||||
nestedProps--;
|
nestedProps--;
|
||||||
qsTO = new VisitTO(qs.getId(), qs.getDate(), qs.getTime(), qs.getObservations(), qs.getResult(), this.getPOJOforFamilyDoctorJPA(fd, nestedProps),
|
qsTO = new VisitTO(vi.getId(), vi.getDate(), vi.getTime(), vi.getObservations(), vi.getResult(), this.getPOJOforFamilyDoctorJPA(fd, nestedProps),
|
||||||
this.getPOJOforPatientJPA(pat, nestedProps));
|
this.getPOJOforPatientJPA(pat, nestedProps));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user