Loading module/AutorisationDiplomationThese/doc/resources/data.sql +1 −1 Original line number Diff line number Diff line -- -- Transmission d'autorisation de diplomation -- -- Création du doctorant, de sa thèse, d'une année universitaire et d'un rapport CSI. -- Création du doctorant, de sa thèse, de 2 années universitaires et rapports CSI associés. -- /* Loading module/AutorisationInscriptionThese/doc/resources/data.sql +24 −24 Original line number Diff line number Diff line Loading @@ -9,9 +9,9 @@ INSERT INTO individu (id, type, civilite, nom_usuel, nom_patronymique, prenom1, supann_id, pays_id_nationalite, id_ref, npd_force, est_substituant_modifiable, synchro_undelete_enabled, synchro_update_on_deleted_enabled, apatride, pays_naissance_id, orcid, id_hal) VALUES (nextval('individu_id_seq'), 'doctorant', 'M.', 'INSCRIB', 'INSCRIB', 'Alain', 'Bernard', 'Armand', 'alainterieur@mail.fr', '1988-03-04 00:00:00.000000', 'FRANCAIS(E)', 'INSCRIB::053386367XY', 1, 1, current_timestamp, VALUES (nextval('individu_id_seq'), 'doctorant', 'M.', 'INSCRIC', 'INSCRIC', 'Alain', 'Bernard', 'Armand', 'adresse@mail.fr', '1988-03-04 00:00:00.000000', 'FRANCAIS(E)', 'INSCRIC::053386367XY', 1, 1, current_timestamp, '22313702', 79, null, null, true, true, false, false, null, null, null); Loading @@ -19,7 +19,7 @@ INSERT INTO doctorant (id, etablissement_id, individu_id, source_code, source_id histo_creation, ine, source_code_sav, code_apprenant_in_source, npd_force, est_substituant_modifiable, synchro_undelete_enabled, synchro_update_on_deleted_enabled) VALUES (nextval('doctorant_id_seq'), 2, currval('individu_id_seq'), 'INSCRIB::053386367XY', 1, 1, current_timestamp, VALUES (nextval('doctorant_id_seq'), 2, currval('individu_id_seq'), 'INSCRIC::053386367XY', 1, 1, current_timestamp, '053386367XY', null, null, null, true, true, false); INSERT INTO these (id, etablissement_id, doctorant_id, ecole_doct_id, unite_rech_id, correc_autorisee, Loading @@ -32,8 +32,8 @@ INSERT INTO these (id, etablissement_id, doctorant_id, ecole_doct_id, unite_rech resaisir_attestations_depot_version_corrigee) VALUES (nextval('these_id_seq'), 2, currval('doctorant_id_seq'), 86, 841, null, null, null, null, 'E', null, null, null, null, 'N', 'THESE INSCRIB', 'INSCRIB::053386367XY', 1, 1, current_timestamp, null, null, null, 'THESE INSCRIC', 'INSCRIC::053386367XY', 1, 1, current_timestamp, null, null, null, 'N', null, '4200031', null, null, 31, null, null) returning id; Loading @@ -46,7 +46,7 @@ INSERT INTO individu (id, type, civilite, nom_usuel, nom_patronymique, prenom1, synchro_undelete_enabled, synchro_update_on_deleted_enabled, apatride, pays_naissance_id, orcid, id_hal) select nextval('individu_id_seq'), null, null, 'DIRECTEURA', 'DIRECTEURA', 'Jean', null, null, 'direcetru@mail.fr', null, 'Française', 'INSCRIB::053386367XY::DIRECTEURA', 1, 1, current_timestamp, 1, current_timestamp, null, null, '111111', null, 'INSCRIC::053386367XY::DIRECTEURA', 1, 1, current_timestamp, 1, current_timestamp, null, null, '111111', null, null, null, true, true, false, false, null, null, null; INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_code, source_id, histo_createur_id, Loading @@ -56,7 +56,7 @@ INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_co soutenance_membre_id) select nextval('acteur_these_id_seq'), currval('individu_id_seq'), currval('these_id_seq'), (select id from role where source_code = 'UCN::D'), null, 'INSCRIB::053386367XY::DIRECTEURA', 1, 1, current_timestamp, null, 'INSCRIC::053386367XY::DIRECTEURA', 1, 1, current_timestamp, 1, current_timestamp, null, null, 2, 408, null, false, 85, false, false, 1, 16, null; INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_code, source_id, histo_createur_id, Loading @@ -66,7 +66,7 @@ INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_co soutenance_membre_id) select nextval('acteur_these_id_seq'), currval('individu_id_seq'), currval('these_id_seq'), (select id from role where source_code = 'UCN::P'), null, 'INSCRIB::053386367XY::PRESIDENTA', 1, 1, current_timestamp, null, 'INSCRIC::053386367XY::PRESIDENTA', 1, 1, current_timestamp, 1, current_timestamp, null, null, 2, 408, null, false, 85, false, false, 1, 16, null; INSERT INTO individu (id, type, civilite, nom_usuel, nom_patronymique, prenom1, prenom2, prenom3, email, Loading @@ -76,7 +76,7 @@ INSERT INTO individu (id, type, civilite, nom_usuel, nom_patronymique, prenom1, synchro_undelete_enabled, synchro_update_on_deleted_enabled, apatride, pays_naissance_id, orcid, id_hal) select nextval('individu_id_seq'), null, null, 'MEMBREA', 'MEMBREA', 'Jean', null, null, 'membrea@mail.fr', null, 'Française', 'INSCRIB::053386367XY::MEMBREA', 1, 1, current_timestamp, 1, current_timestamp, null, null, '222222', null, 'INSCRIC::053386367XY::MEMBREA', 1, 1, current_timestamp, 1, current_timestamp, null, null, '222222', null, null, null, true, true, false, false, null, null, null; INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_code, source_id, histo_createur_id, Loading @@ -86,31 +86,31 @@ INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_co soutenance_membre_id) select nextval('acteur_these_id_seq'), currval('individu_id_seq'), currval('these_id_seq'), (select id from role where source_code = 'UCN::M'), null, 'INSCRIB::053386367XY::MEMBREA', 1, 1, current_timestamp, null, 'INSCRIC::053386367XY::MEMBREA', 1, 1, current_timestamp, 1, current_timestamp, null, null, 2, 408, null, false, 85, false, false, 1, 16, null; -------------- insert into these_annee_univ(id, source_code, source_id, these_id, annee_univ, histo_createur_id, est_1ere_annee_inscription) values (nextval('these_annee_univ_id_seq'), 'INSCRIB::053386367XY', 1, currval('these_id_seq'), 2024, 1, false); values (nextval('these_annee_univ_id_seq'), 'INSCRIC::053386367XY', 1, currval('these_id_seq'), 2024, 1, false); /* select * from these_annee_univ where source_code = 'INSCRIB::053386367XY'; select * from these where source_code = 'INSCRIB::053386367XY' ; select * from doctorant where source_code = 'INSCRIB::053386367XY'; select * from individu where source_code = 'INSCRIB::053386367XY'; select * from these where source_code = 'INSCRIB::053386367XY'; select * from these_annee_univ where source_code = 'INSCRIC::053386367XY'; select * from these where source_code = 'INSCRIC::053386367XY' ; select * from doctorant where source_code = 'INSCRIC::053386367XY'; select * from individu where source_code = 'INSCRIC::053386367XY'; select * from these where source_code = 'INSCRIC::053386367XY'; -- ménage : delete from these_annee_univ where source_code = 'INSCRIB::053386367XY'; delete from these_annee_univ where source_code = 'INSCRIC::053386367XY'; delete from these where source_code = 'UCN::31546145'; delete from doctorant where source_code = 'INSCRIB::053386367XY'; delete from individu where source_code = 'INSCRIB::053386367XY'; delete from doctorant where source_code = 'INSCRIC::053386367XY'; delete from individu where source_code = 'INSCRIC::053386367XY'; */ INSERT INTO fichier (id, uuid, nature_id, nom, nom_original, type_mime, taille, description, version_fichier_id, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id) select nextval('fichier_id_seq'), 'INSCRIB::053386367XY::1', 121, 'RAPPORT-CSI-ED558-INSCRIB-Alain-2024-2025-953e0e55.pdf', select nextval('fichier_id_seq'), 'INSCRIC::053386367XY::1', 121, 'RAPPORT-CSI-ED558-INSCRIC-Alain-2024-2025-953e0e55.pdf', 'rapport1.pdf', 'application/pdf', 42338, null, 3, current_timestamp, 1, current_timestamp, 1; INSERT INTO rapport (id, these_id, fichier_id, annee_univ, est_final, histo_createur_id, histo_modificateur_id, histo_creation, type_rapport_id) Loading @@ -119,7 +119,7 @@ select nextval('rapport_id_seq'), currval('these_id_seq'), currval('fichier_id_s --- -- INSERT INTO fichier (id, uuid, nature_id, nom, nom_original, type_mime, taille, description, version_fichier_id, -- histo_creation, histo_createur_id, histo_modification, histo_modificateur_id) -- select nextval('fichier_id_seq'), 'INSCRIB::053386367XY::2', 121, 'RAPPORT-CSI-ED558-INSCRIB-Alain-2025-2026-d060dbd7.pdf', -- select nextval('fichier_id_seq'), 'INSCRIC::053386367XY::2', 121, 'RAPPORT-CSI-ED558-INSCRIC-Alain-2025-2026-d060dbd7.pdf', -- 'rapport2.pdf', 'application/pdf', 3153, null, 3, '2026-04-29 13:53:26.668608', 1, '2026-04-29 13:53:26.668608', 1; -- INSERT INTO rapport (id, these_id, fichier_id, annee_univ, est_final, histo_createur_id, histo_modificateur_id, -- histo_creation, type_rapport_id) Loading @@ -127,9 +127,9 @@ select nextval('rapport_id_seq'), currval('these_id_seq'), currval('fichier_id_s -- 1, '2026-04-29 13:53:26.676593', 3; /* select * from rapport where these_id = (select id from these where source_code = 'INSCRIB::053386367XY'); select * from rapport where these_id = (select id from these where source_code = 'INSCRIC::053386367XY'); select * from fichier where uuid like '%-053386367XY'; -- ménage : delete from rapport where these_id = (select id from these where source_code = 'INSCRIB::053386367XY'); delete from rapport where these_id = (select id from these where source_code = 'INSCRIC::053386367XY'); delete from fichier where uuid like '%-053386367XY'; */ No newline at end of file Loading
module/AutorisationDiplomationThese/doc/resources/data.sql +1 −1 Original line number Diff line number Diff line -- -- Transmission d'autorisation de diplomation -- -- Création du doctorant, de sa thèse, d'une année universitaire et d'un rapport CSI. -- Création du doctorant, de sa thèse, de 2 années universitaires et rapports CSI associés. -- /* Loading
module/AutorisationInscriptionThese/doc/resources/data.sql +24 −24 Original line number Diff line number Diff line Loading @@ -9,9 +9,9 @@ INSERT INTO individu (id, type, civilite, nom_usuel, nom_patronymique, prenom1, supann_id, pays_id_nationalite, id_ref, npd_force, est_substituant_modifiable, synchro_undelete_enabled, synchro_update_on_deleted_enabled, apatride, pays_naissance_id, orcid, id_hal) VALUES (nextval('individu_id_seq'), 'doctorant', 'M.', 'INSCRIB', 'INSCRIB', 'Alain', 'Bernard', 'Armand', 'alainterieur@mail.fr', '1988-03-04 00:00:00.000000', 'FRANCAIS(E)', 'INSCRIB::053386367XY', 1, 1, current_timestamp, VALUES (nextval('individu_id_seq'), 'doctorant', 'M.', 'INSCRIC', 'INSCRIC', 'Alain', 'Bernard', 'Armand', 'adresse@mail.fr', '1988-03-04 00:00:00.000000', 'FRANCAIS(E)', 'INSCRIC::053386367XY', 1, 1, current_timestamp, '22313702', 79, null, null, true, true, false, false, null, null, null); Loading @@ -19,7 +19,7 @@ INSERT INTO doctorant (id, etablissement_id, individu_id, source_code, source_id histo_creation, ine, source_code_sav, code_apprenant_in_source, npd_force, est_substituant_modifiable, synchro_undelete_enabled, synchro_update_on_deleted_enabled) VALUES (nextval('doctorant_id_seq'), 2, currval('individu_id_seq'), 'INSCRIB::053386367XY', 1, 1, current_timestamp, VALUES (nextval('doctorant_id_seq'), 2, currval('individu_id_seq'), 'INSCRIC::053386367XY', 1, 1, current_timestamp, '053386367XY', null, null, null, true, true, false); INSERT INTO these (id, etablissement_id, doctorant_id, ecole_doct_id, unite_rech_id, correc_autorisee, Loading @@ -32,8 +32,8 @@ INSERT INTO these (id, etablissement_id, doctorant_id, ecole_doct_id, unite_rech resaisir_attestations_depot_version_corrigee) VALUES (nextval('these_id_seq'), 2, currval('doctorant_id_seq'), 86, 841, null, null, null, null, 'E', null, null, null, null, 'N', 'THESE INSCRIB', 'INSCRIB::053386367XY', 1, 1, current_timestamp, null, null, null, 'THESE INSCRIC', 'INSCRIC::053386367XY', 1, 1, current_timestamp, null, null, null, 'N', null, '4200031', null, null, 31, null, null) returning id; Loading @@ -46,7 +46,7 @@ INSERT INTO individu (id, type, civilite, nom_usuel, nom_patronymique, prenom1, synchro_undelete_enabled, synchro_update_on_deleted_enabled, apatride, pays_naissance_id, orcid, id_hal) select nextval('individu_id_seq'), null, null, 'DIRECTEURA', 'DIRECTEURA', 'Jean', null, null, 'direcetru@mail.fr', null, 'Française', 'INSCRIB::053386367XY::DIRECTEURA', 1, 1, current_timestamp, 1, current_timestamp, null, null, '111111', null, 'INSCRIC::053386367XY::DIRECTEURA', 1, 1, current_timestamp, 1, current_timestamp, null, null, '111111', null, null, null, true, true, false, false, null, null, null; INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_code, source_id, histo_createur_id, Loading @@ -56,7 +56,7 @@ INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_co soutenance_membre_id) select nextval('acteur_these_id_seq'), currval('individu_id_seq'), currval('these_id_seq'), (select id from role where source_code = 'UCN::D'), null, 'INSCRIB::053386367XY::DIRECTEURA', 1, 1, current_timestamp, null, 'INSCRIC::053386367XY::DIRECTEURA', 1, 1, current_timestamp, 1, current_timestamp, null, null, 2, 408, null, false, 85, false, false, 1, 16, null; INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_code, source_id, histo_createur_id, Loading @@ -66,7 +66,7 @@ INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_co soutenance_membre_id) select nextval('acteur_these_id_seq'), currval('individu_id_seq'), currval('these_id_seq'), (select id from role where source_code = 'UCN::P'), null, 'INSCRIB::053386367XY::PRESIDENTA', 1, 1, current_timestamp, null, 'INSCRIC::053386367XY::PRESIDENTA', 1, 1, current_timestamp, 1, current_timestamp, null, null, 2, 408, null, false, 85, false, false, 1, 16, null; INSERT INTO individu (id, type, civilite, nom_usuel, nom_patronymique, prenom1, prenom2, prenom3, email, Loading @@ -76,7 +76,7 @@ INSERT INTO individu (id, type, civilite, nom_usuel, nom_patronymique, prenom1, synchro_undelete_enabled, synchro_update_on_deleted_enabled, apatride, pays_naissance_id, orcid, id_hal) select nextval('individu_id_seq'), null, null, 'MEMBREA', 'MEMBREA', 'Jean', null, null, 'membrea@mail.fr', null, 'Française', 'INSCRIB::053386367XY::MEMBREA', 1, 1, current_timestamp, 1, current_timestamp, null, null, '222222', null, 'INSCRIC::053386367XY::MEMBREA', 1, 1, current_timestamp, 1, current_timestamp, null, null, '222222', null, null, null, true, true, false, false, null, null, null; INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_code, source_id, histo_createur_id, Loading @@ -86,31 +86,31 @@ INSERT INTO acteur_these (id, individu_id, these_id, role_id, qualite, source_co soutenance_membre_id) select nextval('acteur_these_id_seq'), currval('individu_id_seq'), currval('these_id_seq'), (select id from role where source_code = 'UCN::M'), null, 'INSCRIB::053386367XY::MEMBREA', 1, 1, current_timestamp, null, 'INSCRIC::053386367XY::MEMBREA', 1, 1, current_timestamp, 1, current_timestamp, null, null, 2, 408, null, false, 85, false, false, 1, 16, null; -------------- insert into these_annee_univ(id, source_code, source_id, these_id, annee_univ, histo_createur_id, est_1ere_annee_inscription) values (nextval('these_annee_univ_id_seq'), 'INSCRIB::053386367XY', 1, currval('these_id_seq'), 2024, 1, false); values (nextval('these_annee_univ_id_seq'), 'INSCRIC::053386367XY', 1, currval('these_id_seq'), 2024, 1, false); /* select * from these_annee_univ where source_code = 'INSCRIB::053386367XY'; select * from these where source_code = 'INSCRIB::053386367XY' ; select * from doctorant where source_code = 'INSCRIB::053386367XY'; select * from individu where source_code = 'INSCRIB::053386367XY'; select * from these where source_code = 'INSCRIB::053386367XY'; select * from these_annee_univ where source_code = 'INSCRIC::053386367XY'; select * from these where source_code = 'INSCRIC::053386367XY' ; select * from doctorant where source_code = 'INSCRIC::053386367XY'; select * from individu where source_code = 'INSCRIC::053386367XY'; select * from these where source_code = 'INSCRIC::053386367XY'; -- ménage : delete from these_annee_univ where source_code = 'INSCRIB::053386367XY'; delete from these_annee_univ where source_code = 'INSCRIC::053386367XY'; delete from these where source_code = 'UCN::31546145'; delete from doctorant where source_code = 'INSCRIB::053386367XY'; delete from individu where source_code = 'INSCRIB::053386367XY'; delete from doctorant where source_code = 'INSCRIC::053386367XY'; delete from individu where source_code = 'INSCRIC::053386367XY'; */ INSERT INTO fichier (id, uuid, nature_id, nom, nom_original, type_mime, taille, description, version_fichier_id, histo_creation, histo_createur_id, histo_modification, histo_modificateur_id) select nextval('fichier_id_seq'), 'INSCRIB::053386367XY::1', 121, 'RAPPORT-CSI-ED558-INSCRIB-Alain-2024-2025-953e0e55.pdf', select nextval('fichier_id_seq'), 'INSCRIC::053386367XY::1', 121, 'RAPPORT-CSI-ED558-INSCRIC-Alain-2024-2025-953e0e55.pdf', 'rapport1.pdf', 'application/pdf', 42338, null, 3, current_timestamp, 1, current_timestamp, 1; INSERT INTO rapport (id, these_id, fichier_id, annee_univ, est_final, histo_createur_id, histo_modificateur_id, histo_creation, type_rapport_id) Loading @@ -119,7 +119,7 @@ select nextval('rapport_id_seq'), currval('these_id_seq'), currval('fichier_id_s --- -- INSERT INTO fichier (id, uuid, nature_id, nom, nom_original, type_mime, taille, description, version_fichier_id, -- histo_creation, histo_createur_id, histo_modification, histo_modificateur_id) -- select nextval('fichier_id_seq'), 'INSCRIB::053386367XY::2', 121, 'RAPPORT-CSI-ED558-INSCRIB-Alain-2025-2026-d060dbd7.pdf', -- select nextval('fichier_id_seq'), 'INSCRIC::053386367XY::2', 121, 'RAPPORT-CSI-ED558-INSCRIC-Alain-2025-2026-d060dbd7.pdf', -- 'rapport2.pdf', 'application/pdf', 3153, null, 3, '2026-04-29 13:53:26.668608', 1, '2026-04-29 13:53:26.668608', 1; -- INSERT INTO rapport (id, these_id, fichier_id, annee_univ, est_final, histo_createur_id, histo_modificateur_id, -- histo_creation, type_rapport_id) Loading @@ -127,9 +127,9 @@ select nextval('rapport_id_seq'), currval('these_id_seq'), currval('fichier_id_s -- 1, '2026-04-29 13:53:26.676593', 3; /* select * from rapport where these_id = (select id from these where source_code = 'INSCRIB::053386367XY'); select * from rapport where these_id = (select id from these where source_code = 'INSCRIC::053386367XY'); select * from fichier where uuid like '%-053386367XY'; -- ménage : delete from rapport where these_id = (select id from these where source_code = 'INSCRIB::053386367XY'); delete from rapport where these_id = (select id from these where source_code = 'INSCRIC::053386367XY'); delete from fichier where uuid like '%-053386367XY'; */ No newline at end of file