|
|
|
|
|
================================================================================ |
|
|
=============================== INFO basica ================================ |
|
|
================================================================================ |
|
|
|
|
|
MEMORIA 1.60 Mb |
|
|
|
|
|
-------------------------------------- |
|
|
CRONOMETRO |
|
|
-------------------------------------- |
|
|
pre-consulta 0.000 seg |
|
|
pre conexion 0.027 seg |
|
|
conexion 0.004 seg |
|
|
pos conexion 0.035 seg |
|
|
post-consulta 0.002 seg |
|
|
post-guardar_cache 0.000 seg |
|
|
pre-cache 0.001 seg |
|
|
post-cache 0.000 seg |
|
|
pre-cache 0.000 seg |
|
|
post-cache 0.000 seg |
|
|
pre-cache 0.000 seg |
|
|
post-cache 0.000 seg |
|
|
pre-cache 0.000 seg |
|
|
post-cache 0.000 seg |
|
|
pre-consulta 0.002 seg |
|
|
post-consulta 0.051 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.001 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.000 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.000 seg |
|
|
post-guardar_cache 0.000 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.018 seg |
|
|
pre-consulta 0.037 seg |
|
|
post-consulta 0.028 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.510 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.028 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.014 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.010 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.012 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.009 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.010 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.009 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.013 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.011 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.010 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.011 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.009 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.015 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.005 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.011 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.009 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.012 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.009 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.011 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.009 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.009 seg |
|
|
pre-consulta 0.000 seg |
|
|
post-consulta 0.012 seg |
|
|
fin request 0.002 seg |
|
|
fin response 0.000 seg |
|
|
-------------------------------------- |
|
|
TOTAL 0.966 seg |
|
|
-------------------------------------- |
|
|
|
|
|
================================================================================ |
|
|
================================ nivel INFO ================================ |
|
|
================================================================================ |
|
|
|
|
|
|
|
|
-- La acción 'fa2e3e66946802e65ebb4d95a37b3f' no existe Se redirige a 'index' con parámetro 'fa2e3e66946802e65ebb4d95a37b3f' |
|
|
|
|
|
|
|
|
|
|
|
-- EJECUTANDO ACCION 'siu\operaciones\asistencias\controlador::accion__index' |
|
|
|
|
|
|
|
|
|
|
|
================================================================================ |
|
|
================================== DEBUG =================================== |
|
|
================================================================================ |
|
|
|
|
|
|
|
|
-- ALIAS --------------------------------------------------------------------- |
|
|
|
|
|
/colegio |
|
|
|
|
|
-- ACTIVAR CACHE ------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
-- CATALOGO: sistema/version_base_g3 | cache [true] - tipo [memoria] --------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[cache] => memoria |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- ADMIN CACHE --------------------------------------------------------------- |
|
|
|
|
|
: instanciando: MemoriaApc |
|
|
|
|
|
-- ############# se incluyo la clase co_parametros del co co_parametros ############## |
|
|
|
|
|
nucleo/administracion/parametros/co_parametros.php |
|
|
|
|
|
-- ############# TOBA_CONSULTA ADAPTER ############## ------------------------ |
|
|
|
|
|
metodo: get_version_app_base - cache: false |
|
|
|
|
|
-- ## CARGAR DB ## ----------------------------------------------------------- |
|
|
|
|
|
get_version_app_base |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
SET CLIENT_ENCODING TO 'iso-8859-1'; |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
SET search_path TO negocio |
|
|
|
|
|
-- CONECTAR DB --------------------------------------------------------------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[vendor] => pgsql |
|
|
[dbname] => toba_3_3 |
|
|
[schema] => negocio |
|
|
[schema_toba] => desarrollo |
|
|
[host] => guarani_escuelas_base_1 |
|
|
[port] => 5432 |
|
|
[pdo_user] => postgres |
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = 'negocio_auditoria') |
|
|
|
|
|
-- === session_name === ------------------------------------------------------ |
|
|
|
|
|
siu_sess__colegio_des01 |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
CREATE TEMP TABLE tt_usuario (usuario VARCHAR(60), id_solicitud INTEGER);GRANT SELECT, INSERT ON tt_usuario TO postgres;INSERT INTO tt_usuario (usuario) VALUES ('26858882'); |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
SELECT trim(version_app) as version_actual |
|
|
FROM app_versiones_base |
|
|
ORDER BY id_conversion DESC |
|
|
LIMIT 1 |
|
|
|
|
|
|
|
|
-- ## datos ## --------------------------------------------------------------- |
|
|
|
|
|
3.22.0 |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
3.22.0 |
|
|
|
|
|
-- CATALOGO CACHE - guardar -------------------------------------------------- |
|
|
|
|
|
sistema/version_base_g3. MEDIO: memoria |
|
|
|
|
|
-- Autenticacion ------------------------------------------------------------- |
|
|
|
|
|
Usuario autenticado con la sesion |
|
|
|
|
|
-- CATALOGO: persona/datos_basicos | cache [true] - tipo [sesion] ------------ |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[persona] => '8' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => persona |
|
|
) |
|
|
|
|
|
[cache] => sesion |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- ADMIN CACHE --------------------------------------------------------------- |
|
|
|
|
|
: instanciando: Sesion |
|
|
|
|
|
-- CACHE SESION buscar ------------------------------------------------------- |
|
|
|
|
|
catalogo____des01__persona__datos_basicos__Jzgn |
|
|
|
|
|
-- CATALOGO CACHE DATOS ------------------------------------------------------ |
|
|
|
|
|
Array |
|
|
( |
|
|
[persona] => 8 |
|
|
[tipo_documento] => 0 |
|
|
[tipo_documento_desc] => Documento Nacional de Identidad |
|
|
[tipo_documento_desc_abreviada] => DNI |
|
|
[nro_documento] => 26858882 |
|
|
[apellido] => HARTMANN |
|
|
[nombres] => LORENA MARICEL |
|
|
[nombre_mostrar] => LORENA MARICEL |
|
|
[apellido_mostrar] => HARTMANN |
|
|
[inicial_apellido] => H |
|
|
[fecha_nacimiento] => 1979-08-29 |
|
|
[fecha_nacimiento_visual] => 29/08/1979 |
|
|
[id_imagen] => |
|
|
[perfil_inicial] => Docente |
|
|
[identificacion] => 26858882 |
|
|
[arai_identificador_sso] => |
|
|
[arai_uuid] => |
|
|
[legajo_docente] => 26858882 |
|
|
[docente] => 1 |
|
|
[orden] => 0 |
|
|
) |
|
|
|
|
|
|
|
|
-- CATALOGO: persona/perfiles | cache [true] - tipo [sesion] ----------------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[persona] => 8 |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => persona |
|
|
) |
|
|
|
|
|
[no_quote] => persona |
|
|
[cache] => sesion |
|
|
[filas] => n |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- CACHE SESION buscar ------------------------------------------------------- |
|
|
|
|
|
catalogo____des01__persona__perfiles__OA__ |
|
|
|
|
|
-- CATALOGO CACHE DATOS ------------------------------------------------------ |
|
|
|
|
|
Array |
|
|
( |
|
|
[Docente] => Docente |
|
|
[Preinscripcion] => Preinscripcion |
|
|
) |
|
|
|
|
|
|
|
|
-- CATALOGO: persona/carreras | cache [true] - tipo [sesion] ----------------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[persona] => '8' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => persona |
|
|
) |
|
|
|
|
|
[cache] => sesion |
|
|
[filas] => n |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- CACHE SESION buscar ------------------------------------------------------- |
|
|
|
|
|
catalogo____des01__persona__carreras__Jzgn |
|
|
|
|
|
-- CATALOGO CACHE DATOS ------------------------------------------------------ |
|
|
|
|
|
ARRAY VACIO |
|
|
|
|
|
-- CATALOGO: persona/configuracion | cache [true] - tipo [memoria] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[persona] => '8' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => persona |
|
|
) |
|
|
|
|
|
[cache] => memoria |
|
|
[cache_expiracion] => 600 |
|
|
[filas] => n |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- CATALOGO CACHE DATOS ------------------------------------------------------ |
|
|
|
|
|
Array |
|
|
( |
|
|
[email] => hartmann.lorena@uader.edu.ar |
|
|
[recibe_mail_mensajes] => 0 |
|
|
[email_temporal] => |
|
|
) |
|
|
|
|
|
|
|
|
-- cargar PERSONA ------------------------------------------------------------ |
|
|
|
|
|
8 |
|
|
|
|
|
-- === pre_accion - perfil === ----------------------------------------------- |
|
|
|
|
|
Docente |
|
|
|
|
|
-- === pre_accion - operacion === -------------------------------------------- |
|
|
|
|
|
asistencias |
|
|
|
|
|
-- Recordset - recuperar - 8_fa2e3e66946802e65ebb4d95a37b3f860f15e0f1 ------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[0] => docente |
|
|
[1] => lista_comisiones |
|
|
[2] => Array |
|
|
( |
|
|
[anio_academico] => |
|
|
[docente] => 1 |
|
|
[periodo_lectivo] => Array |
|
|
( |
|
|
[0] => 13 |
|
|
[1] => 12 |
|
|
) |
|
|
|
|
|
[actividad] => |
|
|
[ubicacion] => |
|
|
[comisiones_activas] => |
|
|
) |
|
|
|
|
|
[3] => id |
|
|
[4] => Array |
|
|
( |
|
|
[comision] => Array |
|
|
( |
|
|
[0] => comision |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
[tipo_] => siu\modelo\entidades\rs_consulta |
|
|
[accion_destino__] => index |
|
|
[controlador_destino__] => asistencias |
|
|
) |
|
|
|
|
|
|
|
|
-- CATALOGO: docente/lista_comisiones | cache [false] - tipo [no] ------------ |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[anio_academico] => |
|
|
[docente] => 1 |
|
|
[periodo_lectivo] => Array |
|
|
( |
|
|
[0] => 13 |
|
|
[1] => 12 |
|
|
) |
|
|
|
|
|
[actividad] => |
|
|
[ubicacion] => |
|
|
[comisiones_activas] => |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => anio_academico |
|
|
[1] => docente |
|
|
[2] => periodo_lectivo |
|
|
[3] => actividad |
|
|
[4] => ubicacion |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => anio_academico |
|
|
[1] => docente |
|
|
[2] => periodo_lectivo |
|
|
[3] => actividad |
|
|
[4] => ubicacion |
|
|
) |
|
|
|
|
|
[no_quote] => Array |
|
|
( |
|
|
[0] => anio_academico |
|
|
[1] => docente |
|
|
[2] => periodo_lectivo |
|
|
[3] => actividad |
|
|
[4] => ubicacion |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[cache_expiracion] => 600 |
|
|
[filas] => n |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
-- Comisiones sin subcomisiones |
|
|
SELECT |
|
|
cast(sga_comisiones.comision as text) as id, |
|
|
sga_periodos.anio_academico as anio_academico, |
|
|
sga_periodos.nombre as periodo_lectivo_nombre, |
|
|
sga_periodos.anio_academico || ' - ' || sga_periodos.nombre as periodo_lectivo_nombre_full, |
|
|
sga_periodos.fecha_inicio as periodo_fecha_inicio, |
|
|
sga_comisiones.periodo_lectivo as periodo_lectivo, |
|
|
vw_actividades.nombre || ' (' || vw_actividades.codigo || ')' as actividad_orden, |
|
|
sga_comisiones.elemento as actividad, |
|
|
vw_actividades.codigo as actividad_codigo, |
|
|
vw_actividades.nombre as actividad_nombre, |
|
|
vw_actividades.nombre_abreviado as actividad_nombre_abreviado, |
|
|
sga_comisiones.comision as comision, |
|
|
sga_comisiones.nombre as comision_nombre, |
|
|
sga_comisiones.turno as turno, |
|
|
sga_turnos_cursadas.nombre as turno_nombre, |
|
|
f_instancias_comision (sga_comisiones.comision) as instancias, |
|
|
sga_comisiones.catedra as catedra, |
|
|
sga_catedras.nombre as catedra_nombre, |
|
|
sga_ubicaciones.ubicacion as ubicacion, |
|
|
sga_ubicaciones.nombre as ubicacion_nombre, |
|
|
sga_comisiones_cupo.cupo as cupo_comision, |
|
|
(SELECT COUNT(1) FROM sga_insc_cursada WHERE comision = sga_comisiones.comision) as cant_inscriptos_comision, |
|
|
--f_horario_comision(sga_comisiones.comision) as horario_comision, |
|
|
f_bandas_horarias_comision(sga_comisiones.comision, true, true, true) as horario_comision, |
|
|
-- subcomisiones |
|
|
cast(null as integer) as subcomision, |
|
|
cast(null as varchar(100)) as subcomision_nombre, |
|
|
cast(null as varchar(50)) as tipo_clase, |
|
|
0 as cupo_subcomision, |
|
|
0 as cant_inscriptos_subcomision, |
|
|
cast(null as varchar(200)) as horario_subcomision, |
|
|
0 as es_subcomision, |
|
|
sga_comisiones.entidad, |
|
|
sga_docentes_responsabilidades.nombre as resp_docente |
|
|
FROM sga_comisiones |
|
|
JOIN sga_comisiones_cupo ON sga_comisiones_cupo.comision = sga_comisiones.comision |
|
|
JOIN sga_docentes_comision ON (sga_docentes_comision.docente = 1 AND sga_docentes_comision.comision = sga_comisiones.comision) |
|
|
JOIN sga_docentes_responsabilidades ON sga_docentes_comision.responsabilidad = sga_docentes_responsabilidades.responsabilidad |
|
|
|
|
|
JOIN sga_ubicaciones ON sga_ubicaciones.ubicacion = sga_comisiones.ubicacion |
|
|
JOIN vw_actividades ON vw_actividades.elemento = sga_comisiones.elemento |
|
|
JOIN sga_periodos_lectivos ON sga_periodos_lectivos.periodo_lectivo = sga_comisiones.periodo_lectivo |
|
|
JOIN sga_periodos ON sga_periodos.periodo = sga_periodos_lectivos.periodo |
|
|
LEFT JOIN sga_catedras ON sga_catedras.catedra = sga_comisiones.catedra |
|
|
LEFT JOIN sga_turnos_cursadas ON sga_turnos_cursadas.turno = sga_comisiones.turno |
|
|
WHERE sga_comisiones.estado = 'A' |
|
|
AND COALESCE(sga_periodos_lectivos.fecha_publicacion_comisiones_docente,CURRENT_DATE) <= CURRENT_DATE |
|
|
AND NOT EXISTS (SELECT 1 FROM sga_subcomisiones WHERE comision = sga_comisiones.comision) |
|
|
|
|
|
AND sga_comisiones.periodo_lectivo IN (13,12) |
|
|
|
|
|
|
|
|
|
|
|
UNION ALL |
|
|
|
|
|
-- Comisiones con subcomisiones. |
|
|
SELECT |
|
|
cast(sga_comisiones.comision as text) || '_' || cast(sga_subcomisiones.subcomision as text) as id, |
|
|
sga_periodos.anio_academico as anio_academico, |
|
|
sga_periodos.nombre as periodo_lectivo_nombre, |
|
|
sga_periodos.anio_academico || ' - ' || sga_periodos.nombre as periodo_lectivo_nombre_full, |
|
|
sga_periodos.fecha_inicio as periodo_fecha_inicio, |
|
|
sga_comisiones.periodo_lectivo as periodo_lectivo, |
|
|
vw_actividades.nombre || ' (' || vw_actividades.codigo || ')' as actividad_orden, |
|
|
sga_comisiones.elemento as actividad, |
|
|
vw_actividades.codigo as actividad_codigo, |
|
|
vw_actividades.nombre as actividad_nombre, |
|
|
vw_actividades.nombre_abreviado as actividad_nombre_abreviado, |
|
|
sga_comisiones.comision as comision, |
|
|
sga_comisiones.nombre as comision_nombre, |
|
|
sga_comisiones.turno as turno, |
|
|
sga_turnos_cursadas.nombre as turno_nombre, |
|
|
f_instancias_comision (sga_comisiones.comision) as instancias, |
|
|
sga_comisiones.catedra as catedra, |
|
|
sga_catedras.nombre as catedra_nombre, |
|
|
sga_ubicaciones.ubicacion as ubicacion, |
|
|
sga_ubicaciones.nombre as ubicacion_nombre, |
|
|
0 as cupo_comision, |
|
|
0 as cant_inscriptos_comision, |
|
|
cast(null as varchar(200)) as horario_comision, |
|
|
-- Subcomisiones |
|
|
sga_subcomisiones.subcomision as subcomision, |
|
|
sga_subcomisiones.nombre as subcomision_nombre, |
|
|
sga_clases_tipos.nombre as tipo_clase, |
|
|
sga_subcomisiones_cupo.cupo as cupo_subcomision, |
|
|
(SELECT COUNT(1) FROM sga_insc_subcomision WHERE subcomision = sga_subcomisiones.subcomision) as cant_inscriptos_subcomision, |
|
|
f_horario_subcomision(sga_subcomisiones.subcomision) as horario_subcomision, |
|
|
1 as es_subcomision, |
|
|
sga_comisiones.entidad, |
|
|
sga_docentes_responsabilidades.nombre as resp_docente |
|
|
FROM |
|
|
sga_comisiones |
|
|
JOIN sga_subcomisiones ON sga_subcomisiones.comision = sga_comisiones.comision |
|
|
JOIN sga_docentes_subcomision ON (sga_docentes_subcomision.docente = 1 AND sga_docentes_subcomision.subcomision = sga_subcomisiones.subcomision) |
|
|
JOIN sga_docentes_comision ON (sga_docentes_comision.comision = sga_comisiones.comision AND sga_docentes_comision.docente = sga_docentes_subcomision.docente) |
|
|
JOIN sga_docentes_responsabilidades ON sga_docentes_responsabilidades.responsabilidad = sga_docentes_comision.responsabilidad |
|
|
|
|
|
JOIN sga_clases_tipos ON sga_clases_tipos.tipo_clase = sga_subcomisiones.tipo_clase |
|
|
JOIN sga_subcomisiones_cupo ON sga_subcomisiones_cupo.subcomision = sga_subcomisiones.subcomision |
|
|
JOIN sga_ubicaciones ON sga_ubicaciones.ubicacion = sga_comisiones.ubicacion |
|
|
JOIN vw_actividades ON vw_actividades.elemento = sga_comisiones.elemento |
|
|
JOIN sga_periodos_lectivos ON sga_periodos_lectivos.periodo_lectivo = sga_comisiones.periodo_lectivo |
|
|
JOIN sga_periodos ON sga_periodos.periodo = sga_periodos_lectivos.periodo |
|
|
LEFT JOIN sga_catedras ON sga_catedras.catedra = sga_comisiones.catedra |
|
|
LEFT JOIN sga_turnos_cursadas ON sga_turnos_cursadas.turno = sga_comisiones.turno |
|
|
|
|
|
WHERE sga_comisiones.estado = 'A' |
|
|
AND COALESCE(sga_periodos_lectivos.fecha_publicacion_comisiones_docente,CURRENT_DATE) <= CURRENT_DATE |
|
|
|
|
|
AND sga_comisiones.periodo_lectivo IN (13,12) |
|
|
|
|
|
|
|
|
|
|
|
ORDER BY periodo_lectivo_nombre_full desc, |
|
|
actividad_orden, |
|
|
comision_nombre |
|
|
|
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| id |anio_academico| periodo_lectivo_nombre | periodo_lectivo_nombre_full |periodo_fecha_inicio|periodo_lectivo| actividad_orden |actividad|actividad_codigo| actividad_nombre |actividad_nombre_abreviado|comision|comision_nombre|turno|turno_nombre|instancias|catedra|catedra_nombre|ubicacion| ubicacion_nombre |cupo_comision|cant_inscriptos_comision| horario_comision |subcomision|subcomision_nombre|tipo_clase|cupo_subcomision|cant_inscriptos_subcomision|horario_subcomision|es_subcomision|entidad|resp_docente| comision_id | subcomision_id | |
|
|
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|1078| 2025 |FCYT - Periodo Lectivo 2025 Nivel Secundario|2025 - FCYT - Periodo Lectivo 2025 Nivel Secundario| 2025-02-24 | 12 |Lengua y Literatura (fcyt-CB104)| 10 | fcyt-CB104 |Lengua y Literatura| Lengua y Literatura | 1078 | 1ero 2da TM | 1 | Ma<EFBFBD>ana | Promoci<EFBFBD>n | | | 4 |COL. SUP. DEL URUGUAY "J. J. DE URQUIZA" - TM| 0 | 23 | Lun 09:55 a 12:05 (Te<EFBFBD>rico-Pr<EFBFBD>ctica) - Mie 10:45 a 12:05 (Te<EFBFBD>rico-Pr<EFBFBD>ctica) | | | | 0 | 0 | | 0 | 1659 |Preceptor/a |f0d8b94b367c6f79b0fef4ebd8138ef0c6f8e71d|9c2f9821578f859b84447e8b72d99e5bf109082a| |
|
|
|1082| 2025 |FCYT - Periodo Lectivo 2025 Nivel Secundario|2025 - FCYT - Periodo Lectivo 2025 Nivel Secundario| 2025-02-24 | 12 | Matem<EFBFBD>tica (fcyt-CB103) | 9 | fcyt-CB103 | Matem<EFBFBD>tica | Matem<EFBFBD>tica | 1082 | 1ero 2da TM | 1 | Ma<EFBFBD>ana | Promoci<EFBFBD>n | | | 4 |COL. SUP. DEL URUGUAY "J. J. DE URQUIZA" - TM| 0 | 23 | Mar 07:45 a 09:05 (Te<EFBFBD>rico-Pr<EFBFBD>ctica) - Jue 07:45 a 09:55 (Te<EFBFBD>rico-Pr<EFBFBD>ctica) | | | | 0 | 0 | | 0 | 1663 | Titular |4d49be8606cb8147a8bd3478d94de7f7b8053fec|9c2f9821578f859b84447e8b72d99e5bf109082a| |
|
|
| 32 | 2024 |FCYT - Periodo Lectivo 2024 Nivel Secundario|2024 - FCYT - Periodo Lectivo 2024 Nivel Secundario| 2024-02-15 | 13 | M<EFBFBD>sica (fcyt-CB101) | 7 | fcyt-CB101 | M<EFBFBD>sica | M<EFBFBD>sica | 32 | 1ero 3era TM | 1 | Ma<EFBFBD>ana | Promoci<EFBFBD>n | | | 4 |COL. SUP. DEL URUGUAY "J. J. DE URQUIZA" - TM| 0 | 0 | Mie 12:05 a 12:35 (Te<EFBFBD>rico-Pr<EFBFBD>ctica) - Jue 12:05 a 12:35 (Te<EFBFBD>rico-Pr<EFBFBD>ctica) | | | | 0 | 0 | | 0 | 598 | Titular |b04931eb38b0a620b3cdc23e7dfda00608257858|9c2f9821578f859b84447e8b72d99e5bf109082a| |
|
|
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
-- Derechos - derechos accion ------------------------------------------------ |
|
|
|
|
|
Array |
|
|
( |
|
|
[0] => Array |
|
|
( |
|
|
[0] => asistencia_editar |
|
|
[1] => comision |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- Derechos - entidades ------------------------------------------------------ |
|
|
|
|
|
Array |
|
|
( |
|
|
[comision] => Array |
|
|
( |
|
|
[0] => comision |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- CATALOGO: derecho_entidades/tiene_derecho_comisiones | cache [false] - tipo [no] |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[persona] => '8' |
|
|
[derecho] => 'asistencia_editar' |
|
|
[comisiones] => 1078 |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => persona |
|
|
[1] => derecho |
|
|
[2] => comisiones |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[no_quote] => comisiones |
|
|
[filas] => n |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
SELECT --1 as tiene_derecho, |
|
|
sga_comisiones.comision |
|
|
--gdu_derechos.derecho as derecho, |
|
|
--gdu_derechos.nombre as nombre |
|
|
FROM sga_comisiones, |
|
|
gdu_derechos_personas, |
|
|
gdu_derechos |
|
|
WHERE sga_comisiones.comision IN (1078) |
|
|
AND gdu_derechos_personas.persona = '8' |
|
|
AND gdu_derechos_personas.derecho = 'asistencia_editar' |
|
|
|
|
|
AND gdu_derechos_personas.entidad = sga_comisiones.entidad |
|
|
AND gdu_derechos.derecho = gdu_derechos_personas.derecho |
|
|
AND gdu_derechos.derecho_para = 'C' |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[1078] => 1 |
|
|
) |
|
|
|
|
|
|
|
|
-- Adaptador Modelo - Recuperar datos para 'Array |
|
|
( |
|
|
[0] => index |
|
|
) |
|
|
' - fa2e3e66946802e65ebb4d95a37b3f860f15e0f16fdb0613185701db409fa2c21ae841ad6a85eaab |
|
|
|
|
|
Array |
|
|
( |
|
|
[id] => 1078 |
|
|
[anio_academico] => 2025 |
|
|
[periodo_lectivo_nombre] => FCYT - Periodo Lectivo 2025 Nivel Secundario |
|
|
[periodo_lectivo_nombre_full] => 2025 - FCYT - Periodo Lectivo 2025 Nivel Secundario |
|
|
[periodo_fecha_inicio] => 2025-02-24 |
|
|
[periodo_lectivo] => 12 |
|
|
[actividad_orden] => Lengua y Literatura (fcyt-CB104) |
|
|
[actividad] => 10 |
|
|
[actividad_codigo] => fcyt-CB104 |
|
|
[actividad_nombre] => Lengua y Literatura |
|
|
[actividad_nombre_abreviado] => Lengua y Literatura |
|
|
[comision] => 1078 |
|
|
[comision_nombre] => 1ero 2da TM |
|
|
[turno] => 1 |
|
|
[turno_nombre] => Ma<EFBFBD>ana |
|
|
[instancias] => Promoci<EFBFBD>n |
|
|
[catedra] => |
|
|
[catedra_nombre] => |
|
|
[ubicacion] => 4 |
|
|
[ubicacion_nombre] => COL. SUP. DEL URUGUAY "J. J. DE URQUIZA" - TM |
|
|
[cupo_comision] => 0 |
|
|
[cant_inscriptos_comision] => 23 |
|
|
[horario_comision] => Lun 09:55 a 12:05 (Te<EFBFBD>rico-Pr<EFBFBD>ctica) - Mie 10:45 a 12:05 (Te<EFBFBD>rico-Pr<EFBFBD>ctica) |
|
|
[subcomision] => |
|
|
[subcomision_nombre] => |
|
|
[tipo_clase] => |
|
|
[cupo_subcomision] => 0 |
|
|
[cant_inscriptos_subcomision] => 0 |
|
|
[horario_subcomision] => |
|
|
[es_subcomision] => 0 |
|
|
[entidad] => 1659 |
|
|
[resp_docente] => Preceptor/a |
|
|
[comision_id] => f0d8b94b367c6f79b0fef4ebd8138ef0c6f8e71d |
|
|
[subcomision_id] => 9c2f9821578f859b84447e8b72d99e5bf109082a |
|
|
[__ID__] => fa2e3e66946802e65ebb4d95a37b3f860f15e0f16fdb0613185701db409fa2c21ae841ad6a85eaab |
|
|
) |
|
|
|
|
|
|
|
|
-- CATALOGO: zona_clases/get_propuesta | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[comision] => '1078' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => comision |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => n |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
SELECT propuesta |
|
|
FROM sga_comisiones_propuestas |
|
|
WHERE comision = '1078' |
|
|
|
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
----------- |
|
|
|propuesta| |
|
|
----------- |
|
|
| 1 | |
|
|
----------- |
|
|
|
|
|
|
|
|
-- CATALOGO: carga_asistencias/tipo_asistencia | cache [true] - tipo [memoria] |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[comision] => '1078' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => comision |
|
|
) |
|
|
|
|
|
[cache] => memoria |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
SELECT asistencia_por_horas, asistencia_cantidad_inasist |
|
|
FROM sga_comisiones |
|
|
WHERE sga_comisiones.comision = '1078' |
|
|
|
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[asistencia_por_horas] => N |
|
|
[asistencia_cantidad_inasist] => S |
|
|
) |
|
|
|
|
|
|
|
|
-- CATALOGO CACHE - guardar -------------------------------------------------- |
|
|
|
|
|
carga_asistencias/tipo_asistencia. MEDIO: memoria |
|
|
|
|
|
-- CATALOGO: carga_asistencias/clase_cabecera | cache [false] - tipo [no] ---- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[clase] => '12424' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => clase |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
SELECT |
|
|
vw_clases.clase, |
|
|
to_char(vw_clases.fecha, 'DD/MM/YYYY') as fecha_formateada, |
|
|
vw_clases.cantidad_horas_dictadas, |
|
|
vw_clases.tipo_clase_nombre as tipo_clase, |
|
|
to_char(vw_clases.hora_inicio, 'HH24:MI') AS hora_inicio_formateada, |
|
|
to_char(vw_clases.hora_finalizacion, 'HH24:MI') AS hora_finalizacion_formateada, |
|
|
vw_clases.comision_nombre, |
|
|
vw_clases.comision, |
|
|
vw_clases.dia_semana, |
|
|
vw_comisiones.elemento_nombre as actividad_nombre, |
|
|
vw_comisiones.elemento_codigo as actividad_codigo |
|
|
FROM |
|
|
vw_clases, |
|
|
vw_comisiones |
|
|
WHERE |
|
|
vw_clases.comision = vw_comisiones.comision |
|
|
AND vw_clases.clase = '12424' |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[clase] => 12424 |
|
|
[fecha_formateada] => 24/02/2025 |
|
|
[cantidad_horas_dictadas] => 1.00 |
|
|
[tipo_clase] => Te<EFBFBD>rico-Pr<EFBFBD>ctica |
|
|
[hora_inicio_formateada] => 09:55 |
|
|
[hora_finalizacion_formateada] => 12:05 |
|
|
[comision_nombre] => 1ero 2da TM |
|
|
[comision] => 1078 |
|
|
[dia_semana] => Lunes |
|
|
[actividad_nombre] => Lengua y Literatura |
|
|
[actividad_codigo] => fcyt-CB104 |
|
|
) |
|
|
|
|
|
|
|
|
-- CLASE --------------------------------------------------------------------- |
|
|
|
|
|
12424 |
|
|
|
|
|
-- ALUMNOS ------------------------------------------------------------------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[d1ce5f933a3f2a0ea0924f600b764ecc8727dbd2] => Array |
|
|
( |
|
|
[PRESENTE] => 0.25 |
|
|
) |
|
|
|
|
|
[6bf984ba71b02f0dd7b8f714aebe2e11ee31f5d7] => Array |
|
|
( |
|
|
[PRESENTE] => 0.50 |
|
|
) |
|
|
|
|
|
[e2b641c9d1b98be73515243afe247992fb6b8041] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[f2f7b9969321f22a693e039fafc4c3805264a4cb] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[a2011cb90275eeacb8a03d1c279b02fb0c743b87] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[ed758a3ad508fd0f3e49cc0ae60605b83cf4b50c] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[7e2e1f9c9eaef05fd104048dfe1c424d6972a331] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[4af6ff8d406047ee9336dadfc1e0bc51d1ae7400] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[b37de9aa064697fec11ccad23f8ec9c1046acc82] => Array |
|
|
( |
|
|
[PRESENTE] => 1 |
|
|
) |
|
|
|
|
|
[c259ac757cd4f91e4c9bf8220485918ffd48f2fd] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[e0db8f676d9090cc995934ee7bfd6c8d2f510dd7] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[f4cf405f9b090a6cb5953a2be19032a2ae2fcd75] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[94df41677247ef7f81072fa6bc6fc7b9546036d7] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[138c1cc381bf103f7523228d4a5586cfa4d23b54] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[d767cff187b26800a8a77ad28b93486955b92929] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[d0db0945acdb8064a1ef2d2d6d8d8a87120e1720] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[f24461078155079b9297a9f66ee7a1f59dbb985b] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[5aba389c15218828bf5f76379389de76a9668c17] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[afe69431806ad797f37382c66c19295ec6bb476a] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[c4a107946ddb700c00fd82ebb00ed55364c5f11e] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[2c14bdf91094b84a51ea63426541cfab33f35982] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[0fdc6266c56f1b9ee1dcbd82144c5b280b737232] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
[2bbcfa9577cbe39ede1eed3b684bc9962be0825b] => Array |
|
|
( |
|
|
[PRESENTE] => 0 |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- CATALOGO: carga_asistencias/clase_detalle | cache [false] - tipo [no] ----- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[comision] => '1078' |
|
|
[clase] => '12424' |
|
|
[subcomision] => |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => comision |
|
|
[1] => clase |
|
|
[2] => subcomision |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => subcomision |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => n |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
SELECT |
|
|
sga_insc_cursada.alumno, |
|
|
sga_alumnos.legajo, |
|
|
vw_personas.apellido_nombres AS apellido_y_nombres, |
|
|
vw_personas.apellido_nombres_elegido AS apellido_y_nombres_elegido, |
|
|
vw_personas.tipo_nro_documento AS documento_principal, |
|
|
sga_insc_cursada.comision, |
|
|
COALESCE(sga_clases_asistencia.cant_inasistencias, -1) as cant_inasistencias, |
|
|
vw_personas.id_imagen as id_imagen, |
|
|
COALESCE(sga_clases_asistencia_acum.libre,0) as libre, |
|
|
sga_clases_asistencia.cant_justificadas as cant_justificadas, |
|
|
sga_clases_asistencia.motivo_ausencia as motivo_ausencia, |
|
|
sga_motivos_ausencias.nombre as motivo_ausencia_nombre, |
|
|
sga_motivos_ausencias.descripcion as motivo_ausencia_descripcion, |
|
|
sga_clases_asistencia.estado_justificacion as estado_justificacion, |
|
|
sga_clases_asistencia.observaciones as observaciones, |
|
|
coalesce((with pepepe as |
|
|
(select distinct alumno, fecha, cant_justificadas |
|
|
from vw_inasistencias_unca |
|
|
where anio_academico = (extract (year from (select fecha from sga_clases where clase = '12424'))) and cant_justificadas > 0 and alumno = sga_alumnos.alumno |
|
|
order by alumno, fecha |
|
|
) select sum(cant_justificadas) |
|
|
from pepepe),0) as justificadas, |
|
|
coalesce((with pepepe as |
|
|
(select distinct alumno, fecha, cant_inasistencias |
|
|
from vw_inasistencias_unca |
|
|
where anio_academico = (extract (year from (select fecha from sga_clases where clase = '12424'))) and cant_inasistencias > 0 and alumno = sga_alumnos.alumno |
|
|
order by alumno, fecha |
|
|
) select sum(cant_inasistencias) |
|
|
from pepepe),0) as inasistencias |
|
|
|
|
|
FROM sga_insc_cursada |
|
|
JOIN sga_alumnos ON sga_alumnos.alumno = sga_insc_cursada.alumno |
|
|
JOIN vw_personas ON vw_personas.persona = sga_alumnos.persona |
|
|
|
|
|
LEFT JOIN sga_clases_asistencia_acum ON (sga_clases_asistencia_acum.alumno = sga_insc_cursada.alumno AND sga_clases_asistencia_acum.comision = sga_insc_cursada.comision) |
|
|
LEFT JOIN sga_clases_asistencia ON (sga_clases_asistencia.clase = '12424' AND sga_clases_asistencia.alumno = sga_insc_cursada.alumno) |
|
|
LEFT JOIN sga_motivos_ausencias ON (sga_motivos_ausencias.motivo_ausencia = sga_clases_asistencia.motivo_ausencia) |
|
|
WHERE sga_insc_cursada.comision = '1078' |
|
|
AND sga_alumnos.calidad <> 'P' |
|
|
ORDER BY vw_personas.apellido_nombres_elegido |
|
|
|
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
|alumno|legajo| apellido_y_nombres | apellido_y_nombres_elegido |documento_principal|comision|cant_inasistencias|id_imagen|libre|cant_justificadas|motivo_ausencia|motivo_ausencia_nombre|motivo_ausencia_descripcion|estado_justificacion|observaciones|justificadas|inasistencias| __ID__ | url_imagen | url_imagen_mediana | url_imagen_grande | |
|
|
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
| 27 | | ALBORNOZ, Paloma Jazm<EFBFBD>n | ALBORNOZ, Paloma Jazm<EFBFBD>n | DNI 52947666 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |d1ce5f933a3f2a0ea0924f600b764ecc8727dbd2|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 65 | | ANDRADE, Emma Pierina | ANDRADE, Emma Pierina | DNI 52821937 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |6bf984ba71b02f0dd7b8f714aebe2e11ee31f5d7|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 66 | | BALTOR<EFBFBD>, Felipe | BALTOR<EFBFBD>, Felipe | DNI 52731348 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |e2b641c9d1b98be73515243afe247992fb6b8041|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 67 | | BODEMAN MART<EFBFBD>NEZ, Berenice | BODEMAN MART<EFBFBD>NEZ, Berenice | DNI 53004611 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |f2f7b9969321f22a693e039fafc4c3805264a4cb|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 68 | | CARDONA PREIZ, Sof<EFBFBD>a Elo<EFBFBD>sa | CARDONA PREIZ, Sof<EFBFBD>a Elo<EFBFBD>sa | DNI 52493838 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |a2011cb90275eeacb8a03d1c279b02fb0c743b87|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 69 | | DERIS FRANCIA, Emilia | DERIS FRANCIA, Emilia | DNI 52731370 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |ed758a3ad508fd0f3e49cc0ae60605b83cf4b50c|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 70 | | DIAZ, Victoria Milagros | DIAZ, Victoria Milagros | DNI 53111841 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |7e2e1f9c9eaef05fd104048dfe1c424d6972a331|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 71 | | DOMINGUEZ, Mail<EFBFBD>n | DOMINGUEZ, Mail<EFBFBD>n | DNI 52948514 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |4af6ff8d406047ee9336dadfc1e0bc51d1ae7400|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 72 | | FARFAN, Santino Luan | FARFAN, Santino Luan | DNI 52616029 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |b37de9aa064697fec11ccad23f8ec9c1046acc82|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 73 | |GABIOUD MELENDREZ, Aaron Nahuel|GABIOUD MELENDREZ, Aaron Nahuel| DNI 52496792 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |c259ac757cd4f91e4c9bf8220485918ffd48f2fd|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 74 | | GREGORI R<EFBFBD>OS, Emilia | GREGORI R<EFBFBD>OS, Emilia | DNI 53250979 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |e0db8f676d9090cc995934ee7bfd6c8d2f510dd7|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 75 | | IGARZABAL, Benjam<EFBFBD>n | IGARZABAL, Benjam<EFBFBD>n | DNI 52948516 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |f4cf405f9b090a6cb5953a2be19032a2ae2fcd75|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 76 | | KURET ZERMATTEN, M<EFBFBD>a Martina | KURET ZERMATTEN, M<EFBFBD>a Martina | DNI 52492482 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |94df41677247ef7f81072fa6bc6fc7b9546036d7|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 77 | | LENCINA GOYCOCHEA, Benjam<EFBFBD>n | LENCINA GOYCOCHEA, Benjam<EFBFBD>n | DNI 52492416 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |138c1cc381bf103f7523228d4a5586cfa4d23b54|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 78 | | LENCINA, Sof<EFBFBD>a | LENCINA, Sof<EFBFBD>a | DNI 53111864 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |d767cff187b26800a8a77ad28b93486955b92929|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 79 | | LESCANO, Mateo Tom<EFBFBD>s | LESCANO, Mateo Tom<EFBFBD>s | DNI 52731321 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |d0db0945acdb8064a1ef2d2d6d8d8a87120e1720|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 80 | | LEUZE, Zoe Nahiara | LEUZE, Zoe Nahiara | DNI 52496030 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |f24461078155079b9297a9f66ee7a1f59dbb985b|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 81 | | MART<EFBFBD>NEZ SCHEPENS, Genaro | MART<EFBFBD>NEZ SCHEPENS, Genaro | DNI 52731326 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |5aba389c15218828bf5f76379389de76a9668c17|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 82 | | MI<EFBFBD>O, Cristal | MI<EFBFBD>O, Cristal | DNI 52821142 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |afe69431806ad797f37382c66c19295ec6bb476a|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 83 | | MI<EFBFBD>O, Ramiro | MI<EFBFBD>O, Ramiro | DNI 51369975 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |c4a107946ddb700c00fd82ebb00ed55364c5f11e|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 84 | | PINTOS, Florencia | PINTOS, Florencia | DNI 53250904 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |2c14bdf91094b84a51ea63426541cfab33f35982|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 85 | | SANABRIA, Maximiliano | SANABRIA, Maximiliano | DNI 52948515 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |0fdc6266c56f1b9ee1dcbd82144c5b280b737232|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
| 86 | | SCARPATTI, Bianca | SCARPATTI, Bianca | DNI 52496768 | 1078 | -1 | | 0 | | | | | | | 0 | 0 |2bbcfa9577cbe39ede1eed3b684bc9962be0825b|/colegio/img/iconos/mm.png|/colegio/img/iconos/mm_grande.png|/colegio/img/iconos/mm_grande.png| |
|
|
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
BEGIN WORK |
|
|
|
|
|
-- ABRIR transaccion --------------------------------------------------------- |
|
|
|
|
|
base: toba_3_3 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '27' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0.25' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '27' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '27' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '27' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '27' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '27', '0.25', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '27' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '27', '0.25', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '27' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '27', '0.25', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '27' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '27', '0.25', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '65' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0.50' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '65' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '65' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '65' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '65' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '65', '0.50', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '65' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '65', '0.50', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '65' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '65', '0.50', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '65' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '65', '0.50', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '66' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '66' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '66' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '66' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '66' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '66', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '66' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '66', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '66' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '66', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '66' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '66', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '67' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '67' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '67' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '67' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '67' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '67', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '67' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '67', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '67' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '67', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '67' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '67', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '68' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '68' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '68' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '68' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '68' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '68', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '68' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '68', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '68' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '68', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '68' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '68', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '69' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '69' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '69' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '69' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '69' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '69', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '69' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '69', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '69' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '69', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '69' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '69', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '70' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '70' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '70' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '70' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '70' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '70', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '70' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '70', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '70' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '70', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '70' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '70', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '71' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '71' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '71' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '71' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '71' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '71', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '71' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '71', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '71' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '71', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '71' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '71', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '72' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '1' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '72' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '72' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '72' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '72' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '72', '1', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '72' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '72', '1', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '72' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '72', '1', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '72' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '72', '1', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '73' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '73' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '73' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '73' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '73' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '73', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '73' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '73', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '73' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '73', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '73' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '73', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '74' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '74' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '74' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '74' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '74' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '74', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '74' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '74', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '74' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '74', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '74' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '74', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '75' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '75' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '75' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '75' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '75' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '75', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '75' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '75', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '75' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '75', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '75' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '75', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '76' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '76' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '76' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '76' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '76' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '76', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '76' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '76', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '76' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '76', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '76' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '76', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '77' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '77' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '77' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '77' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '77' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '77', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '77' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '77', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '77' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '77', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '77' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '77', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '78' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '78' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '78' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '78' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '78' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '78', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '78' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '78', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '78' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '78', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '78' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '78', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '79' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '79' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '79' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '79' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '79' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '79', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '79' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '79', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '79' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '79', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '79' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '79', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '80' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '80' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '80' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '80' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '80' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '80', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '80' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '80', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '80' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '80', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '80' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '80', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '81' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '81' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '81' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '81' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '81' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '81', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '81' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '81', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '81' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '81', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '81' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '81', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '82' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '82' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '82' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '82' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '82' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '82', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '82' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '82', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '82' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '82', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '82' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '82', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '83' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '83' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '83' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '83' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '83' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '83', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '83' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '83', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '83' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '83', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '83' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '83', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '84' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '84' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '84' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '84' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '84' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '84', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '84' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '84', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '84' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '84', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '84' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '84', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '85' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '85' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '85' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '85' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '85' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '85', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '85' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '85', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '85' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '85', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '85' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '85', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- CATALOGO: carga_asistencias/guardar | cache [false] - tipo [no] ----------- |
|
|
|
|
|
Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[alumno] => '86' |
|
|
[clase] => '12424' |
|
|
[motivo] => |
|
|
[cantidad] => '0' |
|
|
) |
|
|
|
|
|
[metadata] => Array |
|
|
( |
|
|
[parametros] => Array |
|
|
( |
|
|
[0] => alumno |
|
|
[1] => clase |
|
|
[2] => cantidad |
|
|
[3] => motivo |
|
|
) |
|
|
|
|
|
[param_null] => Array |
|
|
( |
|
|
[0] => motivo |
|
|
) |
|
|
|
|
|
[cache] => no |
|
|
[filas] => 1 |
|
|
) |
|
|
|
|
|
[force_cache] => Array |
|
|
( |
|
|
) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
SELECT cant_inasistencias, motivo_ausencia |
|
|
FROM sga_clases_asistencia |
|
|
WHERE clase = '12424' |
|
|
AND alumno = '86' |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select clase from sga_clases where banda_horaria in ( |
|
|
select banda_horaria from sga_comisiones_bh where comision in ( |
|
|
select sc.comision |
|
|
from sga_comisiones sc |
|
|
join sga_periodos_lectivos spl ON sc.periodo_lectivo = spl.periodo_lectivo |
|
|
left join sga_comisiones_excep_perlect scep ON sc.comision = scep.comision |
|
|
where (sc.division is null or sc.division in ( |
|
|
select division from sga_alumnos sa where alumno = '86' |
|
|
)) |
|
|
and (select fecha from sga_clases where clase = '12424') between coalesce(scep.fecha_inicio_dictado, spl.fecha_inicio_dictado) and coalesce(scep.fecha_fin_dictado, spl.fecha_fin_dictado) |
|
|
and (sc.turno is null or sc.turno = (select turno |
|
|
from sga_comisiones sc |
|
|
join sga_comisiones_bh scb ON sc.comision = scb.comision |
|
|
join sga_clases scl ON scb.banda_horaria = scl.banda_horaria and clase= '12424')) |
|
|
and exists (select '' from sga_insc_cursada sic where sic.comision =sc.comision and alumno = '86' ) |
|
|
) |
|
|
) |
|
|
and fecha = (select fecha from sga_clases where clase = '12424') |
|
|
|
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 10333 and alumno = '86' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 10333, '86', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 11194 and alumno = '86' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 11194, '86', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12137 and alumno = '86' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12137, '86', '0', null, 'A') |
|
|
|
|
|
-- SQL ----------------------------------------------------------------------- |
|
|
|
|
|
select 1 from sga_clases_asistencia where clase = 12424 and alumno = '86' |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
INSERT INTO sga_clases_asistencia (clase, alumno, cant_inasistencias, motivo_ausencia, estado) |
|
|
values ( 12424, '86', '0', null, 'A') |
|
|
|
|
|
-- DATOS --------------------------------------------------------------------- |
|
|
|
|
|
1 |
|
|
|
|
|
-- sql ----------------------------------------------------------------------- |
|
|
|
|
|
COMMIT WORK |
|
|
|
|
|
-- CERRAR transaccion -------------------------------------------------------- |
|
|
|
|
|
base: toba_3_3 |
|
|
|
|
|
--F<1>:E<0>:W<0>:T<0.966 s>:M<1.60 Mb>-- |
|
|
--REXCAT_C<sistema>MET<version_base_g3>MED<db>A<leer>T<0.002>-- |
|
|
--REXCAT_C<sistema>MET<version_base_g3>MED<memoria>A<guardar>T<0.000>-- |
|
|
--REXCAT_C<persona>MET<datos_basicos>MED<sesion>A<leer>T<0.000>-- |
|
|
--REXCAT_C<persona>MET<perfiles>MED<sesion>A<leer>T<0.000>-- |
|
|
--REXCAT_C<persona>MET<carreras>MED<sesion>A<leer>T<0.000>-- |
|
|
--REXCAT_C<persona>MET<configuracion>MED<memoria>A<leer>T<0.000>-- |
|
|
--REXCAT_C<docente>MET<lista_comisiones>MED<db>A<leer>T<0.051>-- |
|
|
--REXCAT_C<derecho_entidades>MET<tiene_derecho_comisiones>MED<db>A<leer>T<0.001>-- |
|
|
--REXCAT_C<zona_clases>MET<get_propuesta>MED<db>A<leer>T<0.000>-- |
|
|
--REXCAT_C<carga_asistencias>MET<tipo_asistencia>MED<db>A<leer>T<0.000>-- |
|
|
--REXCAT_C<carga_asistencias>MET<tipo_asistencia>MED<memoria>A<guardar>T<0.000>-- |
|
|
--REXCAT_C<carga_asistencias>MET<clase_cabecera>MED<db>A<leer>T<0.018>-- |
|
|
--REXCAT_C<carga_asistencias>MET<clase_detalle>MED<db>A<leer>T<0.028>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.510>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.028>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.014>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.010>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.012>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.009>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.010>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.009>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.013>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.011>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.010>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.011>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.009>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.015>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.005>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.011>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.009>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.012>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.009>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.011>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.009>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.009>-- |
|
|
--REXCAT_C<carga_asistencias>MET<guardar>MED<db>A<leer>T<0.012>-- |
|
|
|
|
|
== FIN =============================================
|
|
|
|