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
Harbor Registry
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
b435126e
Commit
b435126e
authored
6 years ago
by
Fernando Erd
Browse files
Options
Downloads
Patches
Plain Diff
Change docente_id
parent
fb1bddcb
No related branches found
No related tags found
1 merge request
!184
Change docente
Pipeline
#19784
failed
6 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/libs/routes/auxiliar.js
+2
-2
2 additions, 2 deletions
src/libs/routes/auxiliar.js
src/libs/routes/portalMec.js
+1
-1
1 addition, 1 deletion
src/libs/routes/portalMec.js
src/libs/routes/teacher.js
+2
-2
2 additions, 2 deletions
src/libs/routes/teacher.js
with
5 additions
and
5 deletions
src/libs/routes/auxiliar.js
+
2
−
2
View file @
b435126e
...
...
@@ -322,7 +322,7 @@ rqf.addField({
// LDE
auxiliarApp
.
get
(
'
/
'
,
rqf
.
parse
(),
(
req
,
res
,
next
)
=>
{
req
.
sql
.
field
(
'
COUNT(DISTINCT docente.id)
'
,
'
total
'
)
req
.
sql
.
field
(
'
COUNT(DISTINCT docente.id
_docente
)
'
,
'
total
'
)
.
field
(
"
'Brasil'
"
,
'
name
'
)
.
field
(
'
docente.ano_censo
'
,
'
year
'
)
.
from
(
'
docente
'
)
...
...
@@ -334,7 +334,7 @@ auxiliarApp.get('/', rqf.parse(), (req, res, next) => {
// SimCAQ
auxiliarApp
.
get
(
'
/count
'
,
rqf
.
parse
(),
(
req
,
res
,
next
)
=>
{
req
.
sql
.
field
(
'
COUNT(DISTINCT docente.id)
'
,
'
total
'
)
req
.
sql
.
field
(
'
COUNT(DISTINCT docente.id
_docente
)
'
,
'
total
'
)
.
field
(
"
'Brasil'
"
,
'
name
'
)
.
field
(
'
docente.ano_censo
'
,
'
year
'
)
.
from
(
'
docente
'
)
...
...
This diff is collapsed.
Click to expand it.
src/libs/routes/portalMec.js
+
1
−
1
View file @
b435126e
...
...
@@ -100,7 +100,7 @@ rqf.addField({
portalMecApp
.
get
(
'
/
'
,
rqf
.
parse
(),
(
req
,
res
,
next
)
=>
{
req
.
sql
.
field
(
'
docente.id
'
)
req
.
sql
.
field
(
'
docente.id
_docente
'
)
.
field
(
'
docente.ano_censo
'
,
'
year
'
)
.
field
(
'
docente.cod_quimica
'
,
'
Química
'
)
.
field
(
'
docente.cod_fisica
'
,
'
Física
'
)
...
...
This diff is collapsed.
Click to expand it.
src/libs/routes/teacher.js
+
2
−
2
View file @
b435126e
...
...
@@ -389,7 +389,7 @@ rqf.addField({
});
teacherApp
.
get
(
'
/
'
,
rqf
.
parse
(),
(
req
,
res
,
next
)
=>
{
req
.
sql
.
field
(
'
COUNT(DISTINCT docente.id)
'
,
'
total
'
)
req
.
sql
.
field
(
'
COUNT(DISTINCT docente.id
_docente
)
'
,
'
total
'
)
.
field
(
"
'Brasil'
"
,
'
name
'
)
.
field
(
'
docente.ano_censo
'
,
'
year
'
)
.
from
(
'
docente
'
)
...
...
@@ -413,7 +413,7 @@ teacherApp.get('/', rqf.parse(), (req, res, next) => {
if
(
req
.
hadEducationLevelMod
)
{
req
.
sql
=
squel
.
select
()
.
field
(
'
COUNT(DISTINCT docente.id)
'
,
'
total
'
)
.
field
(
'
COUNT(DISTINCT docente.id
_docente
)
'
,
'
total
'
)
.
field
(
"
'Brasil'
"
,
'
name
'
)
.
field
(
'
docente.ano_censo
'
,
'
year
'
)
.
from
(
'
docente
'
)
...
...
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