utn-cli 2.0.31 → 2.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -317,7 +317,7 @@ Router.get('/obtenerPersonasFuncionarias', async (solicitud, respuesta, next) =>
|
|
|
317
317
|
try {
|
|
318
318
|
return respuesta.json({ body: await Miscelaneo.obtenerPersonasFuncionarias(), error: undefined });
|
|
319
319
|
} catch (error) {
|
|
320
|
-
const MensajeDeError = 'No fue posible obtener los datos de las personas
|
|
320
|
+
const MensajeDeError = 'No fue posible obtener los datos de las personas funcionarias';
|
|
321
321
|
console.error(new ManejadorDeErrores(MensajeDeError, ManejadorDeErrores.obtenerNumeroDeLinea(), true, `Dirección IP: ${solicitud.ip}`));
|
|
322
322
|
return respuesta.status(500).json({ body: undefined, error: MensajeDeError });
|
|
323
323
|
}
|
|
@@ -678,8 +678,8 @@ class Miscelaneo {
|
|
|
678
678
|
async obtenerPersonasFuncionarias() {
|
|
679
679
|
return await ejecutarConsultaSIGU("SELECT `Identificador`, `Identificacion`, `Nombre`, `PrimerApellido`,\
|
|
680
680
|
`SegundoApellido` FROM `SIGU`.`SIGU_Personas` WHERE `Identificador` IN\
|
|
681
|
-
(SELECT `Identificador` FROM `SIGU`.`
|
|
682
|
-
`SegundoApellido`"
|
|
681
|
+
(SELECT `Identificador` FROM `SIGU`.`EstructuraOrganizacional_Instancias`) ORDER BY `Nombre`, `PrimerApellido`,\
|
|
682
|
+
`SegundoApellido`");
|
|
683
683
|
}
|
|
684
684
|
|
|
685
685
|
// async rolPermisoIdDelMenuPadre() {
|