Skip to content
Snippets Groups Projects
Commit c52f062a authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

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
...@@ -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
......
...@@ -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
/ /
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment