Commit 9a7e9baf authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Merge branch 'develop' into test

parents ee3d4712 02624693
Loading
Loading
Loading
Loading

bin/fichiers.csv

deleted100755 → 0
+0 −97
Changes for bin/fichiers.csv: 0 added lines, 97 removed lines.
Original line number Diff line number Diff line
enabled|directory|filename|command
0|/var/www/Theses/data|2014-FOSSEZ-KEVIN.pdf|cines
0|/var/www/Theses/data|2015-BUARD-PIERRE-YVES.pdf|cines
0|/var/www/Theses/data|2015-DESMONT-JEAN_RENE.pdf|cines
0|/var/www/Theses/data|2015-GLEITZ-ANNE-SOPHIE.pdf|cines
0|/var/www/Theses/data|2013-MARMIN-STELLA.pdf|cines
1|/var/www/Theses/data|2014- DUPONT-XAVIER.pdf|cines
0|/var/www/Theses/data|2014- HUN- KANAL.pdf|cines
0|/var/www/Theses/data|2014- NGUYEN- THI THU  HIEN.pdf|cines
0|/var/www/Theses/data|2014-ADONG-FEDDY.pdf|cines
0|/var/www/Theses/data|2014-BEAUMALE-MARINE.pdf|cines
0|/var/www/Theses/data|2014-BECHOUX-KEVIN.pdf|cines
0|/var/www/Theses/data|2014-BILLARD-VINCENT.pdf|cines
0|/var/www/Theses/data|2014-CHAFFIN-LAURENCE.pdf|cines
0|/var/www/Theses/data|2014-CHEN-JIANJUN.pdf|cines
0|/var/www/Theses/data|2014-CUFFOLO-RAPHAEL.pdf|cines
0|/var/www/Theses/data|2014-DAVESNNE-CHRISTIAN.pdf|cines
0|/var/www/Theses/data|2014-DEKHICI-MEBROUKA.pdf|cines
0|/var/www/Theses/data|2014-DING-JING_JIE.pdf|cines
0|/var/www/Theses/data|2014-DUDOUET-JEREMY.pdf|cines
0|/var/www/Theses/data|2014-ELCHAKIK-ABDALLAH.pdf|cines
0|/var/www/Theses/data|2014-ELKHAWAGA-MOHAMED.pdf|cines
0|/var/www/Theses/data|2014-FODIL-KAMEL.pdf|cines
0|/var/www/Theses/data|2014-FURGEROT-LUCILLE.pdf|cines
0|/var/www/Theses/data|2014-GRUYER-DIEGO.pdf|cines
0|/var/www/Theses/data|2014-GUEYDAN-ANTOINE.pdf|cines
0|/var/www/Theses/data|2014-HABACHA-HAMDI.pdf|cines
0|/var/www/Theses/data|2014-HEBERT- MARIE.docx|cines
0|/var/www/Theses/data|2014-HEBERT- MARIE.pdf|cines
0|/var/www/Theses/data|2014-HELAINE-VICTOR.pdf|cines
0|/var/www/Theses/data|2014-HEUGUET-ROMAIN.pdf|cines
0|/var/www/Theses/data|2014-JAMET-GUILLAUME.pdf|cines
0|/var/www/Theses/data|2014-KAMWA-ERIC.pdf|cines
0|/var/www/Theses/data|2014-LABADIE-MATHIEU.pdf|cines
0|/var/www/Theses/data|2014-LANGLINAY-THOMAS.pdf|cines
0|/var/www/Theses/data|2014-LELIEVRE-GUILLAUME.pdf|cines
0|/var/www/Theses/data|2014-LEPABIC-CHARLES.pdf|cines
0|/var/www/Theses/data|2014-LESEPT-FLAVIE.pdf|cines
0|/var/www/Theses/data|2014-MARTIN-MARIE.pdf|cines
0|/var/www/Theses/data|2014-MIECAZE-CATHERINE.pdf|cines
0|/var/www/Theses/data|2014-MORENO-JOSE.pdf|cines
0|/var/www/Theses/data|2014-MOUAWIA-ALI.pdf|cines
0|/var/www/Theses/data|2014-MOVAHHEDI-MOHAMMAD.pdf|cines
0|/var/www/Theses/data|2014-NGUYEN THI -THU  HIEN.pdf|cines
0|/var/www/Theses/data|2014-NGUYEN THI- VAN ANH.pdf|cines
0|/var/www/Theses/data|2014-NGUYEN-DANG HAN.pdf|cines
0|/var/www/Theses/data|2014-PADOVANI-SIMONA.pdf|cines
0|/var/www/Theses/data|2014-PAUL-CLEMENT.pdf|cines
0|/var/www/Theses/data|2014-ROBERT-MARIE.pdf|cines
0|/var/www/Theses/data|2014-ROBITAILLE-AUDREY.pdf|cines
0|/var/www/Theses/data|2014-SAAVEDRA MAYORGA-JUAN JAVIER.pdf|cines
0|/var/www/Theses/data|2014-SAGGESE- ALESSIA.pdf|cines
0|/var/www/Theses/data|2014-SANABRIA-MAURICIO.pdf|cines
0|/var/www/Theses/data|2014-SYED-IDRUS.pdf|cines
0|/var/www/Theses/data|2014-THOREL-MAXIME.pdf|cines
0|/var/www/Theses/data|2014-UGARTE ROJAS- WILLY.pdf|cines
0|/var/www/Theses/data|2014-VIGNET-JULIEN.pdf|cines
0|/var/www/Theses/data|2015- DAISY-MAXIME.pdf|cines
0|/var/www/Theses/data|2015-ALBINI-MATHIEU.pdf|cines
0|/var/www/Theses/data|2015-AYMARD-FRANCOIS.pdf|cines
0|/var/www/Theses/data|2015-BOISSONAT-GUILLAUME.pdf|cines
0|/var/www/Theses/data|2015-BOQUET-CAROLINE.pdf|cines
0|/var/www/Theses/data|2015-BOUGHZALA-OUALID.pdf|cines
0|/var/www/Theses/data|2015-CORNET-VALERIE.pdf|cines
0|/var/www/Theses/data|2015-CRESPIN-CYRIL.pdf|cines
0|/var/www/Theses/data|2015-CUADRADO RICA-HECTOR.pdf|cines
0|/var/www/Theses/data|2015-CUARDO-HECTOR.pdf|cines
0|/var/www/Theses/data|2015-DELACOTTE-CHARLENE.pdf|cines
0|/var/www/Theses/data|2015-DEMESLAY-FLORENT.pdf|cines
0|/var/www/Theses/data|2015-DEMESLAY-FLORENT.pdf|cines
0|/var/www/Theses/data|2015-FABIAN-XAVIER.pdf|cines
0|/var/www/Theses/data|2015-FALL-MAMADOU LAMINE.pdf|cines
0|/var/www/Theses/data|2015-GEORGIEVA-VESELINA.pdf|cines
0|/var/www/Theses/data|2015-GIRONDE-ALEXANDRA.pdf|cines
0|/var/www/Theses/data|2015-ISKANLAR-WAEL.pdf|cines
0|/var/www/Theses/data|2015-KIN-NATHALIE.pdf|cines
0|/var/www/Theses/data|2015-KOHLER-CAROLINE.pdf|cines
0|/var/www/Theses/data|2015-LACOTTE-MORGANE.pdf|cines
0|/var/www/Theses/data|2015-LAHBIB-IMENE.pdf|cines
0|/var/www/Theses/data|2015-LALUT-JULIEN.pdf|cines
0|/var/www/Theses/data|2015-LECARPENTIER-JUSTIN-Vol.1.pdf|cines
0|/var/www/Theses/data|2015-LECARPENTIER-JUSTIN-Vol.2.pdf|cines
0|/var/www/Theses/data|2015-LEPREVOST-ALEXANDRE.pdf|cines
0|/var/www/Theses/data|2015-LEQUESNE-JUSTINE.pdf|cines
0|/var/www/Theses/data|2015-LOZES-FRANCOIS.pdf|cines
0|/var/www/Theses/data|2015-MARTIN-PAUL.pdf|cines
0|/var/www/Theses/data|2015-MARTIN-TRISTAN.pdf|cines
0|/var/www/Theses/data|2015-MORE-CHEVALIER.pdf|cines
0|/var/www/Theses/data|2015-PELE-ANNE-LAURE.pdf|cines
0|/var/www/Theses/data|2015-POUTOT-CLEMENT.pdf|cines
0|/var/www/Theses/data|2015-TIBI-ZEINA.pdf|cines
0|/var/www/Theses/data|2015-TOUTAIN-MATTHIEU.pdf|cines
0|/var/www/Theses/data|2015-ZHIGANG-YAO.pdf|cines
0|/var/www/Theses/data|2016-AL ALWANI-ADNAN SALIH SAHLE.pdf|cines
0|/var/www/Theses/data|2016-BROUARD-VANESSA.pdf|cines
0|/var/www/Theses/data|2016-GALMICHE-MARION.pdf|cines
0|/var/www/Theses/data|2016-MAILLARD ANNE.pdf|cines
+3 −3
Changes for composer.lock: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -1864,11 +1864,11 @@
        },
        {
            "name": "unicaen/app",
            "version": "1.3.19",
            "version": "1.3.21",
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/lib/unicaen/app.git",
                "reference": "2b94ce5f3deaa6a165998c737ebfad3d9ca66c62"
                "reference": "b9bff28b8f304748390ef9b8b8d4f30889147a0f"
            },
            "require": {
                "doctrine/doctrine-orm-module": ">=0.7",
@@ -1911,7 +1911,7 @@
                ]
            },
            "description": "Module de base des applications unicaen",
            "time": "2018-12-05T13:09:29+00:00"
            "time": "2018-12-14T10:27:17+00:00"
        },
        {
            "name": "unicaen/auth",
+279 −0
Changes for config/autoload/local.php.dist: 279 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

use Zend\Mail\Transport\Smtp;

return [
    'import-api' => [
        'etablissements' => [
            'UNILIM' => [
                'url'      => 'https://sygal-import-ws:443', // https://{nom du service docker-compose}:443
                'proxy'    => false, // indispensable pour docker-compose run/exec
                'verify'   => false, // si true : cURL error 60: SSL certificate problem: self signed certificate
                'user'     => 'sygal-app',
                'password' => 'xxxxxxxxxxx',
            ],
        ],
    ],
    'doctrine' => [
        'connection' => [
            'orm_default' => [
                'params' => [
                    'host'     => 'host.domain.fr',
                    'dbname'   => 'DBNAME',
                    'port'     => '1523',
                    'user'     => $user = 'sygal_test',
                    'password' => 'xxxxxxxxxxx',
                    'charset'  => 'AL32UTF8',
                    'CURRENT_SCHEMA' => $user,
                ],
            ],
        ],
    ],
    'fichier' => [
        'root_dir_path' => '/var/www/sygal/upload',
    ],
    'navigation'      => [
        'information' => [
            'accueil' => [
                'pages' => [
                    'doctorat' => [
                        'label' => 'Le doctorat en Normandie',
                        'title' => "Informations sur le doctorat et sa gestion en Normandie"
                    ],
                    'ecoles-doctorales' => [
                        'label' => 'Les Ecoles Doctorales normandes',
                        'title' => "Informations sur les Ecoles Doctorales et le Collège des Ecoles doctorales"
                    ],
                    'guide-these' => [
                        'label' => 'Guide de la thèse',
                        'title' => "Informations sur le déroulement de la thèse et formulaires administratifs à l’intention du doctorant et de ses encadrants"
                    ],
                ],
            ],
        ],
    ],
    'cli_config' => [
        'scheme' => 'http',
        'domain' => 'localhost:8000',
    ],
    'public_files' => [
        'cache_enabled' => false,
    ],
    'unicaen-app' => [
        'mail' => [
            'transport' => Smtp::class,
            'transport_options' => [
                'host' => 'smtp.domain.fr',
                'port' => 25,
            ],
            'from' => 'ne_pas_repondre@domain.fr',
            'redirect_to' => [/*'mail@domain.fr'*/],
            'do_not_send' => false,
        ],
        'ldap' => [
            'connection' => [
                'default' => [
                    'params' => $ldapParams = [
                    ]
                ]
            ]
        ],
        'maintenance' => [
            // activation (true: activé, false: désactivé)
            'enable' => false,
            // liste blanche des adresses IP clientes non concernées
            'white_list' => [
                //['127.0.0.1'],   // localhost
            ],
        ],
    ],
    'unicaen-ldap' => $ldapParams,
    'unicaen-auth' => [
        'ldap' => [
            'enabled' => false,
        ],
        'shibboleth' => [
            'enable' => true,
            'simulate' => [
                'eppn'        => 'id@domain.fr',
                'supannEmpId' => 'xxxxxx',
            ],
            'aliases' => [
                'eppn'                   => 'HTTP_EPPN',
                'mail'                   => 'HTTP_MAIL',
                'eduPersonPrincipalName' => 'HTTP_EPPN',
                'supannEtuId'            => 'HTTP_SUPANNETUID',
                'supannEmpId'            => 'HTTP_SUPANNEMPID',
                'supannCivilite'         => 'HTTP_SUPANNCIVILITE',
                'displayName'            => 'HTTP_DISPLAYNAME',
                'sn'                     => 'HTTP_SN',
                'givenName'              => 'HTTP_GIVENNAME',
            ],
        ],
        'cas' => [
//            'connection' => [
//                'default' => [
//                    'params' => [
//                        'hostname' => 'host.domain.fr',
//                        'port' => 443,
//                        'version' => "2.0",
//                        'uri' => "",
//                        'debug' => false,
//                    ],
//                ],
//            ],
        ],
        'usurpation_allowed_usernames' => [
        ],
    ],
    'zenddevelopertools' => [
        /**
         * General Profiler settings
         */
        'profiler' => [
            /**
             * Enables or disables the profiler.
             *
             * Expects: bool
             * Default: true
             */
            'enabled' => true,

            /**
             * Enables or disables the strict mode. If the strict mode is enabled, any error will throw an exception,
             * otherwise all errors will be added to the report (and shown in the toolbar).
             *
             * Expects: bool
             * Default: true
             */
            'strict' => true,

            /**
             * If enabled, the profiler tries to flush the content before the it starts collecting data. This option
             * will be ignored if the Toolbar is enabled.
             *
             * Note: The flush listener listens to the MvcEvent::EVENT_FINISH event with a priority of -9400. You have
             * to disable this function if you wish to modify the output with a lower priority.
             *
             * Expects: bool
             * Default: false
             */
            'flush_early' => false,

            /**
             * The cache directory is used in the version check and for every storage type that writes to the disk.
             * Note: The default value assumes that the current working directory is the application root.
             *
             * Expects: string
             * Default: 'data/cache'
             */
            'cache_dir' => 'data/cache',

            /**
             * If a matches is defined, the profiler will be disabled if the request does not match the pattern.
             *
             * Example: 'matcher' => array('ip' => '127.0.0.1')
             * OR
             * 'matcher' => array('url' => array('path' => '/admin')
             * Note: The matcher is not implemented yet!
             */
            'matcher' => [],

            /**
             * Contains a list with all collector the profiler should run. Zend Developer Tools ships with
             * 'db' (Zend\Db), 'time', 'event', 'memory', 'exception', 'request' and 'mail' (Zend\Mail). If you wish to
             * disable a default collector, simply set the value to null or false.
             *
             * Example: 'collectors' => array('db' => null)
             * Expects: array
             */
            'collectors' => []
        ],
        'events' => [
            /**
             * Set to true to enable event-level logging for collectors that will support it. This enables a wildcard
             * listener onto the shared event manager that will allow profiling of user-defined events as well as the
             * built-in ZF events.
             *
             * Expects: bool
             * Default: false
             */
            'enabled' => true,

            /**
             * Contains a list with all event-level collectors that should run. Zend Developer Tools ships with 'time'
             * and 'memory'. If you wish to disable a default collector, simply set the value to null or false.
             *
             * Example: 'collectors' => array('memory' => null)
             * Expects: array
             */
            'collectors' => [],

            /**
             * Contains event identifiers used with the event listener. Zend Developer Tools defaults to listen to all
             * events. If you wish to disable the default all-inclusive identifier, simply set the value to null or
             * false.
             *
             * Example: 'identifiers' => array('all' => null, 'dispatchable' => 'Zend\Stdlib\DispatchableInterface')
             * Expects: array
             */
            'identifiers' => []
        ],
        /**
         * General Toolbar settings
         */
        'toolbar' => [
            /**
             * Enables or disables the Toolbar.
             *
             * Expects: bool
             * Default: false
             */
            'enabled' => true,

            /**
             * If enabled, every empty collector will be hidden.
             *
             * Expects: bool
             * Default: false
             */
            'auto_hide' => false,

            /**
             * The Toolbar position.
             *
             * Expects: string ('bottom' or 'top')
             * Default: bottom
             */
            'position' => 'bottom',

            /**
             * If enabled, the Toolbar will check if your current Zend Framework version is up-to-date.
             * Note: The check will only occur once every hour.
             *
             * Expects: bool
             * Default: false
             */
            'version_check' => false,

            /**
             * Contains a list with all collector toolbar templates. The name  of the array key must be same as the name
             * of the collector.
             *
             * Example: 'profiler' => array(
             *  'collectors' => array(
             *      // My_Collector_Example::getName() -> mycollector
             *      'MyCollector' => 'My_Collector_Example',
             *  )
             * ),
             * 'toolbar' => array(
             *  'entries' => array(
             *      'mycollector' => 'example/toolbar/my-collector',
             *  )
             * ),
             * Expects: array
             */
            'entries' => []
        ]
    ]
];
+0 −82
Changes for data/SQL/adding_remise_version_papier_corrigee.sql: 0 added lines, 82 removed lines.
Original line number Diff line number Diff line
------------------------------------------------------------------------------------------
--- PRIVILEGE
------------------------------------------------------------------------------------------

-- insert the new privilege

insert into PRIVILEGE(ID, CATEGORIE_ID, CODE, LIBELLE, ORDRE)
  select privilege_id_seq.nextval, cp.id, 'version-papier-corrigee', 'Validation de la remise de la version papier corrigée', 3300
  from CATEGORIE_PRIVILEGE cp where cp.CODE = 'these';

-- give the access to the privilege to given role
insert into ROLE_PRIVILEGE(ROLE_ID, PRIVILEGE_ID)
  select r.id, p.id
  from USER_ROLE r, PRIVILEGE p
  where r.ROLE_ID in ('Bureau des doctorats', 'Bibliothèque universitaire', 'Administrateur', 'Administrateur technique')
        and p.CODE in ('version-papier-corrigee');

------------------------------------------------------------------------------------------
--- VALIDATION STEP
------------------------------------------------------------------------------------------

-- add a new validation step
INSERT INTO SODOCT.TYPE_VALIDATION (ID, CODE, LIBELLE) VALUES (4, 'VERSION_PAPIER_CORRIGEE', 'Confirmation dépot de la version papier corrigée');

-- creating the view associated to VERSION PAPIER CORRIGEE
CREATE OR REPLACE
  VIEW V_SITU_VERSION_PAPIER_CORRIGEE AS SELECT
    t.id AS these_id,
    v.id as validation_id
  FROM these t
  JOIN VALIDATION v ON v.THESE_ID = t.id
  JOIN TYPE_VALIDATION tv ON tv.ID = v.TYPE_VALIDATION_ID
  WHERE tv.CODE='VERSION_PAPIER_CORRIGEE';

------------------------------------------------------------------------------------------
--- ETAPE DANS LE WORKFLOW
------------------------------------------------------------------------------------------

--add it in WF_ETAPE
INSERT INTO SODOCT.WF_ETAPE (ID, CODE, ORDRE, CHEMIN, OBLIGATOIRE, ROUTE, LIBELLE_ACTEUR, LIBELLE_AUTRES, DESC_NON_FRANCHIE, DESC_SANS_OBJECTIF) VALUES (60, 'REMISE_EXEMPLAIRE_PAPIER_THESE_CORRIGEE', 300, 1, 1, 'these/version-papier', 'Remise de l''exemplaire papier de la thèse corrigée', 'Remise de l''exemplaire papier de la thèse corrigée', 'Remise de l''exemplaire papier de la thèse corrigée', null);

--changing the V_WORKFLOW

--
-- REMISE_EXEMPLAIRE_PAPIER_THESE_CORRIGEE  : franchie pas pour le moment
--
select * from (
 WITH tmp_last AS (
     SELECT
       THESE_ID as these_id,
       count(THESE_ID) AS resultat
     FROM V_SITU_VERSION_PAPIER_CORRIGEE
     GROUP BY THESE_ID
 )
 SELECT
   t.id AS                 these_id,
   e.id AS                 etape_id,
   e.code,
   e.ORDRE,
   coalesce(tl.resultat, 0) franchie,
   0,
   1
 FROM these t
   JOIN WF_ETAPE e ON e.code = 'REMISE_EXEMPLAIRE_PAPIER_THESE_CORRIGEE'
   LEFT JOIN tmp_last tl ON tl.these_id = t.id
)

-- adding stuff in V_WF_ETAPE_PERTIN

--
-- REMISE_EXEMPLAIRE_PAPIER_THESE_CORRIGEE : étape pertinente si correction attendue
--
SELECT
  t.id AS these_id,
  e.id AS etape_id,
  e.code,
  e.ORDRE
FROM these t
  JOIN WF_ETAPE e ON e.code = 'REMISE_EXEMPLAIRE_PAPIER_THESE_CORRIGEE'
WHERE t.CORREC_AUTORISEE is not null

commit;
 No newline at end of file

data/SQL/individu.sql

deleted100644 → 0
+0 −46
Changes for data/SQL/individu.sql: 0 added lines, 46 removed lines.
Original line number Diff line number Diff line

--
-- Vérif des persopass grâce au mail.
--
with tmp as (
  select 'durand'       u from dual union
  select 'laurentj'     u from dual union
  select 'saillant'     u from dual union
  select 'prellier'     u from dual union
  select 'fadili'       u from dual union
  select 'levigoureux'  u from dual union
  select 'ourry'        u from dual union
  select 'dauphin'      u from dual union
  select 'rouden'       u from dual
)
select ucbn_ldap.alias2mail(tmp.u) from tmp;


--
-- Insertion de nouveaux individus SSI aucun individu n'existe avec le même mail.
--
insert into INDIVIDU(ID, HISTO_CREATEUR_ID, HISTO_MODIFICATEUR_ID, SOURCE_ID, SOURCE_CODE, PRENOM, NOM_USUEL, EMAIL)
  with tmp as (
    select 'Christophe' p, 'DURAND'         n, ucbn_ldap.alias2mail('durand'     ) m from dual union
    select 'Jérome'     p, 'LAURENT'        n, ucbn_ldap.alias2mail('laurentj'   ) m from dual union
    select 'Elodie'     p, 'SAILLANT'       n, ucbn_ldap.alias2mail('saillant'   ) m from dual union
    select 'Wilfrid'    p, 'PRELLIER'       n, ucbn_ldap.alias2mail('prellier'   ) m from dual union
    select 'Jalal'      p, 'FADILI'         n, ucbn_ldap.alias2mail('fadili'     ) m from dual union
    select 'Fabrice'    p, 'LE VIGOUREUX'   n, ucbn_ldap.alias2mail('levigoureux') m from dual union
    select 'Alain'      p, 'OURRY'          n, ucbn_ldap.alias2mail('ourry'      ) m from dual union
    select 'François'   p, 'DAUPHIN'        n, ucbn_ldap.alias2mail('dauphin'    ) m from dual union
    select 'Jacques'    p, 'ROUDEN'         n, ucbn_ldap.alias2mail('rouden'     ) m from dual union
    select 'Jérome'     p, 'LAURENT'        n, ucbn_ldap.alias2mail('laurentj'   ) m from dual union
    select 'Elodie'     p, 'SAILLANT'       n, ucbn_ldap.alias2mail('saillant'   ) m from dual union
    select 'Wilfrid'    p, 'PRELLIER'       n, ucbn_ldap.alias2mail('prellier'   ) m from dual union
    select 'Jalal'      p, 'FADILI'         n, ucbn_ldap.alias2mail('fadili'     ) m from dual union
    select 'Fabrice'    p, 'LE VIGOUREUX'   n, ucbn_ldap.alias2mail('levigoureux') m from dual union
    select 'Alain'      p, 'OURRY'          n, ucbn_ldap.alias2mail('ourry'      ) m from dual union
    select 'François'   p, 'DAUPHIN'        n, ucbn_ldap.alias2mail('dauphin'    ) m from dual union
    select 'Jacques'    p, 'ROUDEN'         n, ucbn_ldap.alias2mail('rouden'     ) m from dual
  )
  select INDIVIDU_id_seq.nextval, u.id, u.id, s.id, INDIVIDU_id_seq.currval, tmp.p, tmp.n, tmp.m
  from UTILISATEUR u, source s, tmp
  where u.USERNAME = 'sodoct-app' and s.CODE = 'App'
        and not exists (select * from individu i where email = tmp.m);
Loading