Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
3ac0da7e
Commit
3ac0da7e
authored
Oct 14, 2021
by
Antony Le Courtes
Browse files
Affinage indicateur 380 en cas de non alimentation de affectation_fin via MV_INTERVENANT
parent
409a1b01
Changes
1
Hide whitespace changes
Inline
Side-by-side
data/ddl/view/V_INDICATEUR_380.sql
View file @
3ac0da7e
...
...
@@ -13,8 +13,9 @@ JOIN statut_intervenant si ON si.id = i.statut_id
WHERE
i
.
export_date
IS
NULL
AND
si
.
code
!=
'BIATSS'
AND
si
.
type_intervenant_id
=
2
AND
i
.
affectation_fin
<
sysdate
AND
(
COALESCE
(
i
.
affectation_fin
,
to_date
(
'01/01/9999'
,
'dd/mm/YYYY'
))
<
sysdate
OR
i
.
affectation_fin
IS
NULL
)
AND
c
.
date_retour_signe
IS
NOT
NULL
AND
i
.
annee_id
=
(
SELECT
valeur
FROM
parametre
p
WHERE
nom
=
'annee'
)
GROUP
BY
i
.
id
)
t
;
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment