se agrego nuevo campo para poder activar o desactivar campos
This commit is contained in:
@@ -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',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user