Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sygal-import-ws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
sygal-import-ws
Commits
c52f062a
Commit
c52f062a
authored
Apr 10, 2019
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Corrections des scripts des vues apogée.
parent
92425222
No related branches found
No related tags found
No related merge requests found
Pipeline
#4283
failed
Apr 10, 2019
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/sql/apogee/01-vues-apogee-communes.sql
+58
-49
58 additions, 49 deletions
data/sql/apogee/01-vues-apogee-communes.sql
data/sql/apogee/02-vues-apogee-etab.sql
+11
-8
11 additions, 8 deletions
data/sql/apogee/02-vues-apogee-etab.sql
with
69 additions
and
57 deletions
data/sql/apogee/01-vues-apogee-communes.sql
+
58
−
49
View file @
c52f062a
...
@@ -506,17 +506,21 @@ select distinct
...
@@ -506,17 +506,21 @@ select distinct
/
/
create
view
SYGAL_ROLE_TR
as
create
view
SYGAL_ROLE_TR
as
select
'A'
,
'A'
from
dual
union
with
tmp
(
FROM_COD_ROJ
,
TO_COD_ROJ
)
as
(
select
'B'
,
'B'
from
dual
union
select
'A'
,
'A'
from
dual
union
-- A : Membre absent
select
'C'
,
'C'
from
dual
union
select
'B'
,
'B'
from
dual
union
-- B : Co-encadrant
select
'D'
,
'D'
from
dual
union
select
'C'
,
'C'
from
dual
union
-- C : Chef de laboratoire
select
'K'
,
'K'
from
dual
union
select
'D'
,
'D'
from
dual
union
-- D : Directeur de thèse
select
'M'
,
'M'
from
dual
union
select
'K'
,
'K'
from
dual
union
-- K : Co-directeur de thèse
select
'P'
,
'P'
from
dual
union
select
'M'
,
'M'
from
dual
union
-- M : Membre du jury
select
'R'
,
'R'
from
dual
select
'P'
,
'P'
from
dual
union
-- P : Président du jury
select
'R'
,
'R'
from
dual
-- R : Rapporteur du jury
)
select
*
from
tmp
/
/
create
view
SYGAL_ROLE_NOMENC
as
create
view
SYGAL_ROLE_NOMENC
as
with
tmp
(
COD_ROJ
,
LIC_ROJ
,
LIB_ROJ
)
as
(
select
'A'
,
'Absent'
,
'Membre absent'
from
dual
union
select
'A'
,
'Absent'
,
'Membre absent'
from
dual
union
select
'B'
,
'Co-encadr'
,
'Co-encadrant'
from
dual
union
select
'B'
,
'Co-encadr'
,
'Co-encadrant'
from
dual
union
select
'C'
,
'Chef Labo'
,
'Chef de laboratoire'
from
dual
union
select
'C'
,
'Chef Labo'
,
'Chef de laboratoire'
from
dual
union
...
@@ -525,6 +529,8 @@ select 'A', 'Absent', 'Membre absent' from dual union
...
@@ -525,6 +529,8 @@ select 'A', 'Absent', 'Membre absent' from dual union
select
'M'
,
'Membre'
,
'Membre du jury'
from
dual
union
select
'M'
,
'Membre'
,
'Membre du jury'
from
dual
union
select
'P'
,
'Président'
,
'Président du jury'
from
dual
union
select
'P'
,
'Président'
,
'Président du jury'
from
dual
union
select
'R'
,
'Rapporteur'
,
'Rapporteur du jury'
from
dual
select
'R'
,
'Rapporteur'
,
'Rapporteur du jury'
from
dual
)
select
*
from
tmp
/
/
create
view
SYGAL_ROLE_JURY
as
create
view
SYGAL_ROLE_JURY
as
...
@@ -679,6 +685,7 @@ with inscription_admin as (
...
@@ -679,6 +685,7 @@ with inscription_admin as (
/
/
create
view
SYGAL_ORIGINE_FINANCEMENT
as
create
view
SYGAL_ORIGINE_FINANCEMENT
as
with
tmp
(
ID
,
SOURCE_ID
,
COD_OFI
,
LIC_OFI
,
LIB_OFI
)
as
(
select
'10'
,
'apogee'
,
'10'
,
'SALARIE'
,
'Etudiant salarié'
from
dual
union
all
select
'10'
,
'apogee'
,
'10'
,
'SALARIE'
,
'Etudiant salarié'
from
dual
union
all
select
'11'
,
'apogee'
,
'11'
,
'SANS FIN'
,
'Sans financement'
from
dual
union
all
select
'11'
,
'apogee'
,
'11'
,
'SANS FIN'
,
'Sans financement'
from
dual
union
all
select
'13'
,
'apogee'
,
'13'
,
'DOT EPSCP'
,
'Dotation des EPSCP'
from
dual
union
all
select
'13'
,
'apogee'
,
'13'
,
'DOT EPSCP'
,
'Dotation des EPSCP'
from
dual
union
all
...
@@ -712,6 +719,8 @@ select '10', 'apogee', '10', 'SALARIE', 'Etudiant salarié'
...
@@ -712,6 +719,8 @@ select '10', 'apogee', '10', 'SALARIE', 'Etudiant salarié'
select
'41'
,
'apogee'
,
'41'
,
'ENT ETR'
,
'Entreprise Etrangère'
from
dual
union
all
select
'41'
,
'apogee'
,
'41'
,
'ENT ETR'
,
'Entreprise Etrangère'
from
dual
union
all
select
'42'
,
'apogee'
,
'42'
,
'ORG FC'
,
'Financements Organismes FC'
from
dual
union
all
select
'42'
,
'apogee'
,
'42'
,
'ORG FC'
,
'Financements Organismes FC'
from
dual
union
all
select
'43'
,
'apogee'
,
'43'
,
'ORG INTER'
,
'Organismes Internationaux'
from
dual
select
'43'
,
'apogee'
,
'43'
,
'ORG INTER'
,
'Organismes Internationaux'
from
dual
)
select
*
from
tmp
/
/
create
view
SYGAL_TITRE_ACCES
as
create
view
SYGAL_TITRE_ACCES
as
...
...
This diff is collapsed.
Click to expand it.
data/sql/apogee/02-vues-apogee-etab.sql
+
11
−
8
View file @
c52f062a
...
@@ -51,6 +51,7 @@ create or replace view SYGAL_VARIABLE_MANU as
...
@@ -51,6 +51,7 @@ create or replace view SYGAL_VARIABLE_MANU as
-- Vue traduisant les codes rôles en usage dans votre établissement vers les codes compris par SyGAL.
-- Vue traduisant les codes rôles en usage dans votre établissement vers les codes compris par SyGAL.
--
--
create
or
replace
view
SYGAL_ROLE_TR
as
create
or
replace
view
SYGAL_ROLE_TR
as
with
tmp
(
FROM_COD_ROJ
,
TO_COD_ROJ
)
as
(
select
'A'
,
'A'
from
dual
union
-- A : Membre absent
select
'A'
,
'A'
from
dual
union
-- A : Membre absent
select
'B'
,
'B'
from
dual
union
-- B : Co-encadrant
select
'B'
,
'B'
from
dual
union
-- B : Co-encadrant
select
'C'
,
'C'
from
dual
union
-- C : Chef de laboratoire
select
'C'
,
'C'
from
dual
union
-- C : Chef de laboratoire
...
@@ -59,4 +60,6 @@ create or replace view SYGAL_ROLE_TR as
...
@@ -59,4 +60,6 @@ create or replace view SYGAL_ROLE_TR as
select
'M'
,
'M'
from
dual
union
-- M : Membre du jury
select
'M'
,
'M'
from
dual
union
-- M : Membre du jury
select
'P'
,
'P'
from
dual
union
-- P : Président du jury
select
'P'
,
'P'
from
dual
union
-- P : Président du jury
select
'R'
,
'R'
from
dual
-- R : Rapporteur du jury
select
'R'
,
'R'
from
dual
-- R : Rapporteur du jury
)
select
*
from
tmp
/
/
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