diff --git a/src/libs/routes/SMPPIR/african_culture.js b/src/libs/routes/SMPPIR/african_culture.js index f8b1b5e18aad0d66fce0579d57832c6379ffdb5a..6268fc7c99763f684e4cf180833f7d9b1638fed0 100644 --- a/src/libs/routes/SMPPIR/african_culture.js +++ b/src/libs/routes/SMPPIR/african_culture.js @@ -105,6 +105,29 @@ rqf.addField({ }, }) +.addValue({ + name: 'uf', + table: 'african_culture_ag', + tableField: 'sigla_estado', + resultField: 'uf', + where: { + relation: '=', + type: 'string', + field: 'sigla_estado', + }, +}) +.addValue({ + name: 'region', + table: 'african_culture_ag', + tableField : 'nome_regiao', + resultField: 'region', + where: { + relation: '=', + type: 'string', + field: 'nome_regiao', + }, +}) + ; diff --git a/src/libs/routes/SMPPIR/african_rights.js b/src/libs/routes/SMPPIR/african_rights.js index 7e1ef7a400f97b83023b0146545052a2e8941c4c..27b5de8ade40006aeed5d29aeeb44cb79cef1fc6 100644 --- a/src/libs/routes/SMPPIR/african_rights.js +++ b/src/libs/routes/SMPPIR/african_rights.js @@ -105,7 +105,28 @@ rqf.addField({ }, }) - +.addValue({ + name: 'uf', + table: 'african_rights_ag', + tableField: 'sigla_estado', + resultField: 'uf', + where: { + relation: '=', + type: 'string', + field: 'sigla_estado', + }, +}) +.addValue({ + name: 'region', + table: 'african_rights_ag', + tableField : 'nome_regiao', + resultField: 'region', + where: { + relation: '=', + type: 'string', + field: 'nome_regiao', + }, +}) ; diff --git a/src/libs/routes/SMPPIR/african_sustentability.js b/src/libs/routes/SMPPIR/african_sustentability.js index 2e24a019bba46ce7dec13bc700b4432c9cf05038..3bd006f36e41509f5a9246c59fce219ce32881df 100644 --- a/src/libs/routes/SMPPIR/african_sustentability.js +++ b/src/libs/routes/SMPPIR/african_sustentability.js @@ -81,6 +81,28 @@ rqf.addField({ }, }) +.addValue({ + name: 'uf', + table: 'african_sustentability_ag', + tableField: 'sigla_estado', + resultField: 'uf', + where: { + relation: '=', + type: 'string', + field: 'sigla_estado', + }, +}) +.addValue({ + name: 'region', + table: 'african_sustentability_ag', + tableField : 'nome_regiao', + resultField: 'region', + where: { + relation: '=', + type: 'string', + field: 'nome_regiao', + }, +}) ; diff --git a/src/libs/routes/SMPPIR/ciganos_culture.js b/src/libs/routes/SMPPIR/ciganos_culture.js index a18a1cd95e075cb675e239293ffe0ee303dae72a..f368aa0fc6c90ae4ac41a085e8371d2575beae9f 100644 --- a/src/libs/routes/SMPPIR/ciganos_culture.js +++ b/src/libs/routes/SMPPIR/ciganos_culture.js @@ -105,6 +105,29 @@ rqf.addField({ }, }) +.addValue({ + name: 'uf', + table: 'ciganos_culture_ag', + tableField: 'sigla_estado', + resultField: 'uf', + where: { + relation: '=', + type: 'string', + field: 'sigla_estado', + }, +}) +.addValue({ + name: 'region', + table: 'ciganos_culture_ag', + tableField : 'nome_regiao', + resultField: 'region', + where: { + relation: '=', + type: 'string', + field: 'nome_regiao', + }, +}) + ; diff --git a/src/libs/routes/SMPPIR/ciganos_rights.js b/src/libs/routes/SMPPIR/ciganos_rights.js index b3e205a1a9a71a77c4fa3296347dff8122b5b385..537ceee36ffff043baff540059e65e1741f4e5cc 100644 --- a/src/libs/routes/SMPPIR/ciganos_rights.js +++ b/src/libs/routes/SMPPIR/ciganos_rights.js @@ -105,7 +105,28 @@ rqf.addField({ }, }) - +.addValue({ + name: 'uf', + table: 'ciganos_rights_ag', + tableField: 'sigla_estado', + resultField: 'uf', + where: { + relation: '=', + type: 'string', + field: 'sigla_estado', + }, +}) +.addValue({ + name: 'region', + table: 'ciganos_rights_ag', + tableField : 'nome_regiao', + resultField: 'region', + where: { + relation: '=', + type: 'string', + field: 'nome_regiao', + }, +}) ; diff --git a/src/libs/routes/SMPPIR/ciganos_sustentability.js b/src/libs/routes/SMPPIR/ciganos_sustentability.js index c92707bff81ca09bb5921f55ea28e1aa30c8e766..89b28cf7f9b0b77c363999afb0a69419c8603f6d 100644 --- a/src/libs/routes/SMPPIR/ciganos_sustentability.js +++ b/src/libs/routes/SMPPIR/ciganos_sustentability.js @@ -81,6 +81,28 @@ rqf.addField({ }, }) +.addValue({ + name: 'uf', + table: 'ciganos_sustentability_ag', + tableField: 'sigla_estado', + resultField: 'uf', + where: { + relation: '=', + type: 'string', + field: 'sigla_estado', + }, +}) +.addValue({ + name: 'region', + table: 'ciganos_sustentability_ag', + tableField : 'nome_regiao', + resultField: 'region', + where: { + relation: '=', + type: 'string', + field: 'nome_regiao', + }, +}) ;