estadoSistemaCurso.add(newEstadoSistemaCursoDTO(0l,-1l,newLong(listaAlumnos.size()),newLong(listaDocentes.size()),"Todos los cursos de todos los Centros Educativos (Período)"));
estadoSistemaCurso.add(newEstadoSistemaCursoDTO(0l,-1l,newLong(listaAlumnos.size()),newLong(listaDocentes.size()),"Todos los cursos de todos los centros educativos"));
"select t from TiempoAcceso t where (t.id.idcentroeducativo = :idcentroeducativo or t.id.idcentroeducativo = -1) and t.id.fecha >= :inicio and t.id.fecha <= :fin":
"select t from TiempoAcceso t where t.id.fecha >= :inicio and t.id.fecha <= :fin";
StringqueryString="select t from TiempoAcceso t where t.id.fecha >= :inicio and t.id.fecha <= :fin"+
(!idcentroeducativo.equals(0l)?
" and (t.id.idcentroeducativo = :idcentroeducativo or t.id.idcentroeducativo = -1)":