Skip to content
Snippets Groups Projects
Commit b450e966 authored by Victor Picussa's avatar Victor Picussa
Browse files

[cub]Added BR average

parent 109064f6
No related branches found
No related tags found
1 merge request!133Release v1.4.0
Pipeline #16286 failed
......@@ -149,7 +149,7 @@ cubApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
.group('cub.preco')
} else {
req.sql.from('cub')
.field("'Brasil'", 'sigla_uf')
.field("'BR'", 'sigla_uf')
.field("cub.tipo_preco", 'tipo_preco')
.field('AVG(cub.preco)', 'preco')
.join('estado', null, 'cub.estado_id=estado.id')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment