Commit 398cdb77 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Ajout des dates d'abandon et de transfert

parent 305b6285
Loading
Loading
Loading
Loading
+82 −81
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@ select distinct
        and cod_etu is not null
/

create view V_SYGAL_THESE as
create or replace view V_SYGAL_THESE as
with inscription_administrative as (
    select distinct
        ths.cod_ind,
@@ -250,7 +250,8 @@ create view V_SYGAL_THESE as
    ths.lib_ths,                                      -- Titre de la these
    ths.cod_lng,                                      -- Code langue etrangere du titre
    ths.dat_deb_ths,                                  -- Date de 1ere inscription
      null as cod_anu_prm_iae,                          -- DEPRECATED (cf. V_SYGAL_THESE_ANNEE_UNIV)
    ths.dat_abandon,                                  -- Date d'abandon
    ths.dat_transfert_dep,                            -- Date de transfert

    edo.cod_nat_edo as ecole_doct_id,                 -- Identifiant de l'ecole doctorale
    ths.cod_eqr as unite_rech_id,                     -- Identifiant de l'unité de recherche principale
+2 −0
Original line number Diff line number Diff line
@@ -25,5 +25,7 @@
        <field name="resultat"                type="string"   column="COD_NEG_TRE"          length="1"      nullable="true"/>
        <field name="etatReporduction"        type="string"   column="ETA_RPD_THS"          length="1"      nullable="true"/>
        <field name="correctionAutorisee"     type="string"   column="CORRECTION_POSSIBLE"  length="1"      nullable="true"/>
        <field name="dateAbandon"             type="datetime" column="DAT_ABANDON"                          nullable="true"/>
        <field name="dateTransfert"           type="datetime" column="DAT_TRANSFERT_DEP"                    nullable="true"/>
    </entity>
</doctrine-mapping>
+40 −22
Original line number Diff line number Diff line
@@ -9,28 +9,30 @@ namespace ImportData\V1\Entity\Db;
 */
class These
{
    protected $id;
    protected $sourceId;
    protected $etatThese;
    protected $doctorantId;
    protected $codeDiscipline;
    protected $libDiscipline;
    protected $title;
    protected $codeLNG;
    protected $datePremiereInsc;
    protected $uniteRechId;
    protected $ecoleDoctId;
    protected $libPaysCotut;
    protected $libEtabCotut;
    protected $temAvenant;
    protected $dateSoutenancePrev;
    protected $temSoutenanceAutorisee;
    protected $dateSoutenanceAutorisee;
    protected $dateSoutenance;
    protected $dateConfidFin;
    protected $resultat;
    protected $etatReporduction;
    protected $correctionAutorisee;
    private $id;
    private $sourceId;
    private $etatThese;
    private $doctorantId;
    private $codeDiscipline;
    private $libDiscipline;
    private $title;
    private $codeLNG;
    private $datePremiereInsc;
    private $uniteRechId;
    private $ecoleDoctId;
    private $libPaysCotut;
    private $libEtabCotut;
    private $temAvenant;
    private $dateSoutenancePrev;
    private $temSoutenanceAutorisee;
    private $dateSoutenanceAutorisee;
    private $dateSoutenance;
    private $dateConfidFin;
    private $resultat;
    private $etatReporduction;
    private $correctionAutorisee;
    private $dateAbandon;
    private $dateTransfert;

    /**
     * @return mixed
@@ -207,4 +209,20 @@ class These
    {
        return $this->correctionAutorisee;
    }

    /**
     * @return mixed
     */
    public function getDateAbandon()
    {
        return $this->dateAbandon;
    }

    /**
     * @return mixed
     */
    public function getDateTransfert()
    {
        return $this->dateTransfert;
    }
}