Skip to content
Snippets Groups Projects
Commit ef7e957c authored by Fernando Gbur dos Santos's avatar Fernando Gbur dos Santos
Browse files

[ADD] Adding module.export to new route file

parent 87e65daa
No related branches found
No related tags found
3 merge requests!434Homologa,!429Dev -> Hom,!427Course aggregate fix
......@@ -79,11 +79,12 @@ rqf.addField({
}
});
uniLocalOfferAggregateApp.get('/', (req, res, next) => {
req.sql.from('curso_superior_agregado')
.field('DISTINCT curso_superior_agregado.cod_ies', 'cod')
.field('ies_ens_superior.nome_ies', 'nome')
.join('ies_ens_superior', null, 'curso_superior_agregado.cod_ies = ies_ens_superior.cod_ies and curso_superior_agregado.ano_censo = ies_ens_superior.ano_censo')
next();
}, query, response('uni_offer_aggregate'));
\ No newline at end of file
}, query, response('uni_offer_aggregate'));
module.exports = uniLocalOfferAggregateApp;
\ No newline at end of file
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