|
@@ -88,7 +88,7 @@ try {
|
|
|
]
|
|
]
|
|
|
),
|
|
),
|
|
|
// 'query' => $db->getLastQuery(),
|
|
// 'query' => $db->getLastQuery(),
|
|
|
- 'reposiciones' => $db->query(
|
|
|
|
|
|
|
+ 'reposiciones' => /* $db->query(
|
|
|
'SELECT ' . implode(', ', $columns) . <<<SQL
|
|
'SELECT ' . implode(', ', $columns) . <<<SQL
|
|
|
, reposicion_hora + horario_view.duracion as reposicion_fin, registro_fecha_ideal
|
|
, reposicion_hora + horario_view.duracion as reposicion_fin, registro_fecha_ideal
|
|
|
FROM horario_view
|
|
FROM horario_view
|
|
@@ -110,7 +110,7 @@ try {
|
|
|
'bloque_horario_id' => $_GET['bloque_horario_id'],
|
|
'bloque_horario_id' => $_GET['bloque_horario_id'],
|
|
|
'id_espacio_sgu' => $ruta['id_espacio_sgu'],
|
|
'id_espacio_sgu' => $ruta['id_espacio_sgu'],
|
|
|
]
|
|
]
|
|
|
- ),
|
|
|
|
|
|
|
+ ) */,
|
|
|
],
|
|
],
|
|
|
$ruta,
|
|
$ruta,
|
|
|
),
|
|
),
|
|
@@ -143,4 +143,4 @@ try {
|
|
|
'error' => $th->getMessage(),
|
|
'error' => $th->getMessage(),
|
|
|
], JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
|
|
], JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
|
|
|
exit;
|
|
exit;
|
|
|
-}
|
|
|
|
|
|
|
+}
|