Commit 12fd64ba by Tony Inuma Dahua

FIX: Asignacion de Horarios - Filtro por docente, solo debe listar docentes activos

parent 7b351936
...@@ -298,7 +298,7 @@ public class MySqlAreaDocenteDAO implements AreaDocenteDAO { ...@@ -298,7 +298,7 @@ public class MySqlAreaDocenteDAO implements AreaDocenteDAO {
try { try {
cnx2 = MySqlDAOFactory.obtenerConexion(base2); cnx2 = MySqlDAOFactory.obtenerConexion(base2);
Statement st2 = cnx2.createStatement(); Statement st2 = cnx2.createStatement();
String query2 = " SELECT codprofesor, nombre, apellido from profesor WHERE codprofesor in (" + cadenaCodigosDocente + ") " String query2 = " SELECT codprofesor, nombre, apellido from profesor WHERE codprofesor in (" + cadenaCodigosDocente + ") and estadoprofe='Y' "
+ " ORDER BY apellido ;"; + " ORDER BY apellido ;";
ResultSet rs2 = st2.executeQuery(query2); ResultSet rs2 = st2.executeQuery(query2);
System.out.println(query2); System.out.println(query2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment