Added identifiers
This commit is contained in:
@@ -43,7 +43,7 @@ try {
|
|||||||
WHERE usuario_id = :usuario_id
|
WHERE usuario_id = :usuario_id
|
||||||
), INSERTION AS (
|
), INSERTION AS (
|
||||||
INSERT INTO last_auditoria
|
INSERT INTO last_auditoria
|
||||||
SELECT :usuario_id, to_jsonb(AUDITORIA_DATA) FROM AUDITORIA_DATA
|
SELECT :usuario_id, to_jsonb(AUDITORIA_DATA), registro_fecha_ideal, horario_id, profesor_id FROM AUDITORIA_DATA
|
||||||
WHERE REGISTRO_FECHA_IDEAL IS NOT NULL
|
WHERE REGISTRO_FECHA_IDEAL IS NOT NULL
|
||||||
)
|
)
|
||||||
SELECT
|
SELECT
|
||||||
@@ -66,8 +66,9 @@ try {
|
|||||||
registro_fecha_supervisor,
|
registro_fecha_supervisor,
|
||||||
comentario,
|
comentario,
|
||||||
registro_justificada,
|
registro_justificada,
|
||||||
|
justificacion,
|
||||||
reposicion_id
|
reposicion_id
|
||||||
FROM AUDITORIA_DATA",
|
FROM AUDITORIA_DATA ORDER BY registro_fecha_ideal, horario_hora",
|
||||||
$params
|
$params
|
||||||
);
|
);
|
||||||
// Print the JSON file
|
// Print the JSON file
|
||||||
|
|||||||
Reference in New Issue
Block a user