diff --git a/src/movimiento/movimiento.service.ts b/src/movimiento/movimiento.service.ts index 2efcd98..476573a 100644 --- a/src/movimiento/movimiento.service.ts +++ b/src/movimiento/movimiento.service.ts @@ -181,6 +181,7 @@ export class MovimientoService { reporte: 'CARGA MASIVA DE USUARIOS', status: 'SUCCESS', usuario: { + activo: true, servActivo: { [origenField]: true, @@ -195,6 +196,7 @@ export class MovimientoService { reporte: 'CARGA MASIVA WEB SERVICE', status: 'SUCCESS', usuario: { + activo: true, servActivo: { [origenField]: true, [field]: 'Inactivo', @@ -207,6 +209,7 @@ export class MovimientoService { reporte: 'CARGA INDIVIDUAL DE USUARIOS', status: 'SUCCESS', usuario: { + activo: true, servActivo: { [origenField]: true, [field]: 'Inactivo', @@ -245,6 +248,7 @@ export class MovimientoService { const usuarios = await this.usuarioRepo.find({ where: { + activo: true, movimiento: { reporte: 'CARGA INDIVIDUAL DE USUARIOS', },