Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sygal-import-ws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
sygal-import-ws
Commits
0d9d1ee7
Commit
0d9d1ee7
authored
Mar 11, 2020
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Doc de version
parent
ebf5eea8
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+5
-0
5 additions, 0 deletions
CHANGELOG.md
doc/release-notes/v1.3.3.md
+86
-0
86 additions, 0 deletions
doc/release-notes/v1.3.3.md
with
91 additions
and
0 deletions
CHANGELOG.md
+
5
−
0
View file @
0d9d1ee7
Journal des modifications
Journal des modifications
=========================
=========================
1.
3.3 (11/03/2020)
------------------
-
Financement de thèse : ajout du code et du libellé des types de financement.
1.
3.2 (24/01/2020)
1.
3.2 (24/01/2020)
------------------
------------------
...
...
This diff is collapsed.
Click to expand it.
doc/release-notes/v1.3.3.md
0 → 100644
+
86
−
0
View file @
0d9d1ee7
Version 1.3.3
=============
Sources PHP
-----------
Sur le serveur, placez-vous dans le répertoire du web service (sans doute
`/var/www/sygal-import-ws`
)
puis lancez les commandes suivantes pour installer la nouvelle version :
```
bash
git fetch
&&
git fetch
--tags
&&
git checkout
--force
1.3.3
&&
bash install.sh
```
Selon le moteur PHP que vous avez installé, rechargez le service, exemple :
-
php7.0-fpm :
`service php7.0-fpm reload`
-
apache2-mod-php7.0 :
`service apache2 reload`
Base de données
---------------
Il faut corriger la vue
`V_SYGAL_FINANCEMENT`
ainsi que la table
`SYGAL_FINANCEMENT`
pour inclure le code
et le libellé du type de financement.
#### Apogée
-
Voici le nouveau script de la vue
`V_SYGAL_FINANCEMENT`
:
```
sql
create
or
replace
view
V_SYGAL_FINANCEMENT
as
with
inscription_admin
as
(
select
iae
.
cod_ind
,
iae
.
cod_dip
,
iae
.
cod_vrs_vdi
,
dip
.
lib_dip
,
min
(
iae
.
cod_anu
)
cod_anu_prm_iae
from
ins_adm_etp
iae
join
diplome
dip
on
dip
.
cod_dip
=
iae
.
cod_dip
join
typ_diplome
tpd
on
tpd
.
cod_tpd_etb
=
dip
.
cod_tpd_etb
where
iae
.
eta_iae
=
'E'
-- Inscription administrative non annulee
and
iae
.
eta_pmt_iae
=
'P'
-- Inscription administrative payee
and
dip
.
cod_tpd_etb
in
(
'39'
,
'40'
)
and
tpd
.
eta_ths_hdr_drt
=
'T'
-- Inscription en these
and
tpd
.
tem_sante
=
'N'
-- Exclusion des theses d exercice
group
by
iae
.
cod_ind
,
iae
.
cod_dip
,
iae
.
cod_vrs_vdi
,
dip
.
lib_dip
)
select
min
(
tfi
.
cod_seq_tfi
)
as
id
,
-- Premier numero de sequence du financement
'apogee'
as
source_id
,
tfi
.
cod_ths
as
these_id
,
min
(
nvl
(
tfi
.
cod_anu
,
iae
.
cod_anu_prm_iae
)
)
as
annee_id
,
-- Identifiant de l annee universitaire (ex. 2018 pour 2018/2019)
min
(
tfi
.
cod_afi
)
keep
(
dense_rank
first
order
by
tfi
.
cod_ths
,
tfi
.
cod_ofi
,
tfi
.
quotite_tfi
)
as
code_type_financement
,
min
(
afi
.
lib_afi
)
keep
(
dense_rank
first
order
by
tfi
.
cod_ths
,
tfi
.
cod_ofi
,
tfi
.
quotite_tfi
)
as
libelle_type_financement
,
tfi
.
cod_ofi
as
origine_financement_id
,
listagg
(
tfi
.
compl_tfi
,
' / '
)
within
group
(
order
by
tfi
.
cod_ths
,
tfi
.
cod_ofi
,
tfi
.
quotite_tfi
,
nvl
(
tfi
.
cod_anu
,
iae
.
cod_anu_prm_iae
),
tfi
.
cod_seq_tfi
)
as
complement_financement
,
tfi
.
quotite_tfi
as
quotite_financement
,
min
(
tfi
.
dat_deb_tfi
)
as
date_debut_financement
,
max
(
tfi
.
dat_fin_tfi
)
as
date_fin_financement
from
inscription_admin
iae
join
these_hdr_sout
ths
on
ths
.
cod_ind
=
iae
.
cod_ind
and
ths
.
cod_dip
=
iae
.
cod_dip
and
ths
.
cod_vrs_vdi
=
iae
.
cod_vrs_vdi
join
ths_financement
tfi
on
tfi
.
cod_ths
=
ths
.
cod_ths
join
origine_financement
ofi
on
ofi
.
cod_ofi
=
tfi
.
cod_ofi
left
join
aide_financiere
afi
on
afi
.
cod_afi
=
tfi
.
cod_afi
where
ths
.
cod_ths_trv
=
'1'
-- Exclusion des travaux
and
ofi
.
tem_en_sve_ofi
=
'O'
-- Exclusion des anciens codes des origines de financements
group
by
tfi
.
cod_ths
,
tfi
.
cod_ofi
,
tfi
.
quotite_tfi
;
```
-
Et voici de quoi mettre à jour la table
`SYGAL_FINANCEMENT`
:
```
sql
alter
table
SYGAL_FINANCEMENT
add
CODE_TYPE_FINANCEMENT
varchar2
(
8
)
;
alter
table
SYGAL_FINANCEMENT
add
LIBELLE_TYPE_FINANCEMENT
varchar2
(
100
)
;
```
#### Physalis
À définir.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment