Commit 96e2ee4d authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Abandon de la colonne `COD_ANU_PRM_IAE` dans `SYGAL_THESE` qui est redondante...

Abandon de la colonne `COD_ANU_PRM_IAE` dans `SYGAL_THESE` qui est redondante du fait qu'une vue `SYGAL_THESE_ANNEE_UNIV` existe.
De plus, cette colonne remontait une année de 1ere inscription erronée en cas de changement de discipline.
parent e8245bd7
Loading
Loading
Loading
Loading
+1 −2
Changes for module/ImportData/src/V1/Entity/Db/Mapping/ImportData.V1.Entity.Db.These.dcm.xml: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
    <entity name="ImportData\V1\Entity\Db\These" table="SYGAL_THESE">
    <entity name="ImportData\V1\Entity\Db\These" table="SYGAL_THESE_2">
        <id    name="id"                      type="string"   column="ID"/>
        <field name="sourceId"                type="string"   column="SOURCE_ID"            length="6"      nullable="true"/>
        <field name="etatThese"               type="string"   column="ETA_THS"              length="1"      nullable="true"/>
@@ -12,7 +12,6 @@
        <field name="title"                   type="string"   column="LIB_THS"              length="800"    nullable="true"/>
        <field name="codeLNG"                 type="string"   column="COD_LNG"              length="4"      nullable="true"/>
        <field name="datePremiereInsc"        type="datetime" column="DAT_DEB_THS"                          nullable="true"/>
        <field name="anneeUnivPremiereInsc"   type="integer"  column="COD_ANU_PRM_IAE"                      nullable="true"/>
        <field name="uniteRechId"             type="string"   column="UNITE_RECH_ID"        length="10"     nullable="true"/>
        <field name="ecoleDoctId"             type="string"   column="ECOLE_DOCT_ID"        length="4"      nullable="true"/>
        <field name="libPaysCotut"            type="string"   column="LIB_PAY"              length="40"     nullable="true"/>
+0 −9
Changes for module/ImportData/src/V1/Entity/Db/These.php: 0 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ class These
    protected $title;
    protected $codeLNG;
    protected $datePremiereInsc;
    protected $anneeUnivPremiereInsc;
    protected $uniteRechId;
    protected $ecoleDoctId;
    protected $libPaysCotut;
@@ -113,14 +112,6 @@ class These
        return $this->datePremiereInsc;
    }

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

    /**
     * @return mixed
     */