diff options
author | sreyes <sreyes@dataworks.com.py> | 2014-09-21 13:38:14 (GMT) |
---|---|---|
committer | sreyes <sreyes@dataworks.com.py> | 2014-09-21 13:38:14 (GMT) |
commit | 2ab5277a5b9d10241d109d4ebf3e43aba65b26b2 (patch) | |
tree | 990993081e0e110966af7fbb25e922ec7b60c4a0 | |
parent | b37830031343ba738c5e8e0f5b89dcb7d5dac230 (diff) | |
parent | 0ca55c3c8222809b853f2b6c43a6a5c14b3fa7ae (diff) |
Merge remote-tracking branch 'remotes/origin/Cecilia' into samu
-rw-r--r-- | EjercitarServer/ejbModule/beans/EjercitarWSBean.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/EjercitarServer/ejbModule/beans/EjercitarWSBean.java b/EjercitarServer/ejbModule/beans/EjercitarWSBean.java index 4cfbb13..e091c6d 100644 --- a/EjercitarServer/ejbModule/beans/EjercitarWSBean.java +++ b/EjercitarServer/ejbModule/beans/EjercitarWSBean.java @@ -67,8 +67,10 @@ public class EjercitarWSBean implements EjercitarWSRemote { // TODO Auto-generated method stub
System.out.println("getdatosalumno");
Alumno alumno = em.find(Alumno.class, idAlumno);
- String nombreApellido = alumno.getNombre() + "#" + alumno.getApellido();
- return nombreApellido;
+ String curso = alumno.getCurso().getSeccion() + ""+ alumno.getCurso().getTurno();
+ String escuela = alumno.getCurso().getEscuela().getNombre();
+ String nombreApellidoCursoEscuela = alumno.getNombre() + "#" + alumno.getApellido() + "#" + curso + "#" + escuela ;
+ return nombreApellidoCursoEscuela;
}
@WebMethod
@@ -260,6 +262,7 @@ public class EjercitarWSBean implements EjercitarWSRemote { ejercicio = ejercicioConcepto;
}
}
+
hUtilidades.put(utilidadMaxParcial, ejercicioConcepto);
//System.out.println("utilidadMax: " + utilidadMax);
//System.out.println("utilidadMaxParcial: " + utilidadMaxParcial);
|