Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
simcaq-node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simcaq
simcaq-node
Commits
94ac9f9e
There was a problem fetching the pipeline summary.
Commit
94ac9f9e
authored
7 years ago
by
Fernando Erd
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_query_enrollment' into development
parents
ed9fc5d4
b94ec56b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!116
Release v1.0.0
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/libs/routes/glossEnrollmentRatio.js
+3
-3
3 additions, 3 deletions
src/libs/routes/glossEnrollmentRatio.js
src/libs/routes/liquidEnrollmentRatio.js
+3
-3
3 additions, 3 deletions
src/libs/routes/liquidEnrollmentRatio.js
with
6 additions
and
6 deletions
src/libs/routes/glossEnrollmentRatio.js
+
3
−
3
View file @
94ac9f9e
...
...
@@ -226,12 +226,12 @@ rqf.addField({
}).
addValue
({
name
:
'
education_level_basic
'
,
table
:
'
matricula
'
,
tableField
:
'
etapa
_resum
id
a
'
,
tableField
:
'
etapa
s_mod_ensino_segmento_
id
'
,
resultField
:
'
education_level_basic_id
'
,
where
:
{
relation
:
'
=
'
,
type
:
'
integer
'
,
field
:
'
etapa
_resum
id
a
'
field
:
'
etapa
s_mod_ensino_segmento_
id
'
}
});
...
...
@@ -305,7 +305,7 @@ glossEnrollmentRatioApp.get('/', rqf.parse(),(req, res, next) => {
req
.
numerator
=
req
.
result
;
req
.
resetSql
();
log
.
debug
(
req
.
sql
.
toParam
());
req
.
sql
.
field
(
'
count(*
)
'
,
'
total
'
)
req
.
sql
.
field
(
'
sum(peso
)
'
,
'
total
'
)
.
field
(
'
pnad.ano_censo
'
,
'
year
'
)
.
from
(
'
pnad
'
)
.
group
(
'
pnad.ano_censo
'
)
...
...
This diff is collapsed.
Click to expand it.
src/libs/routes/liquidEnrollmentRatio.js
+
3
−
3
View file @
94ac9f9e
...
...
@@ -226,12 +226,12 @@ rqf.addField({
}).
addValue
({
name
:
'
education_level_basic
'
,
table
:
'
matricula
'
,
tableField
:
'
etapa
_resum
id
a
'
,
tableField
:
'
etapa
s_mod_ensino_segmento_
id
'
,
resultField
:
'
education_level_basic_id
'
,
where
:
{
relation
:
'
=
'
,
type
:
'
integer
'
,
field
:
'
etapa
_resum
id
a
'
field
:
'
etapa
s_mod_ensino_segmento_
id
'
}
});
...
...
@@ -338,7 +338,7 @@ liquidEnrollmentRatioApp.get('/', rqf.parse(),(req, res, next) => {
req
.
numerator
=
req
.
result
;
req
.
resetSql
();
log
.
debug
(
req
.
sql
.
toParam
());
req
.
sql
.
field
(
'
count(*
)
'
,
'
total
'
)
req
.
sql
.
field
(
'
sum(peso
)
'
,
'
total
'
)
.
field
(
'
pnad.ano_censo
'
,
'
year
'
)
.
from
(
'
pnad
'
)
.
group
(
'
pnad.ano_censo
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment