Skip to content
Snippets Groups Projects
Commit 8f29b017 authored by João Kieras's avatar João Kieras Committed by Pietro Cavassin
Browse files

Update rout name studentsAee -> students_aee

parent 9ccc0857
No related branches found
No related tags found
4 merge requests!335Homologa,!334Dev,!331Issue 752 aee,!309Merge new updates into master
...@@ -184,7 +184,7 @@ api.use('/university', university); ...@@ -184,7 +184,7 @@ api.use('/university', university);
api.use('/university_teacher', universityTeacher); api.use('/university_teacher', universityTeacher);
api.use('/course_count', courseCount); api.use('/course_count', courseCount);
api.use('/school_location', schoolLocation); api.use('/school_location', schoolLocation);
api.use('/studentsAee', studentsAee); api.use('/students_aee', studentsAee);
api.use('/mesoregion', mesoregion); api.use('/mesoregion', mesoregion);
api.use('/microregion', microregion); api.use('/microregion', microregion);
api.use('/location', location); api.use('/location', location);
......
...@@ -204,7 +204,7 @@ rqf.addField({ ...@@ -204,7 +204,7 @@ rqf.addField({
studentsAeeApp.get('/', rqf.parse(), (req, res, next) => { studentsAeeApp.get('/', rqf.parse(), (req, res, next) => {
req.sql.from('numero_estudantes_aee') req.sql.from('numero_estudantes_aee')
.field('ano_censo') .field('ano_censo')
.field('COUNT(distinct id_aluno)') .field('COUNT(distinct id_aluno)', 'total')
.group('ano_censo') .group('ano_censo')
.order('ano_censo') .order('ano_censo')
next(); next();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment