Skip to content
Snippets Groups Projects
Commit 7e09543b authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Update enrollment.js

parent 5f68e668
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!44Feature multiple where
Pipeline #
...@@ -324,7 +324,7 @@ enrollmentApp.get('/offer_projection', simRqf.parse(), simRqf.build(), (req, res ...@@ -324,7 +324,7 @@ enrollmentApp.get('/offer_projection', simRqf.parse(), simRqf.build(), (req, res
.field('uc408.serie_ano_id', 'school_year_id') .field('uc408.serie_ano_id', 'school_year_id')
.field('SUM(uc408.matriculas)', 'currentOffer') .field('SUM(uc408.matriculas)', 'currentOffer')
.from('uc408') .from('uc408')
.join('etapa_mod_ensino_segmento', null, 'uc408.etapas_mod_ensino_segmento_id=etapas_mod_ensino_segmento.id') .join('etapas_mod_ensino_segmento', null, 'uc408.etapas_mod_ensino_segmento_id=etapas_mod_ensino_segmento.id')
.where('uc408.turma_turno_id <= 2') .where('uc408.turma_turno_id <= 2')
.group('uc408.ano_censo') .group('uc408.ano_censo')
.group('uc408.turma_turno_id') .group('uc408.turma_turno_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