Skip to content
Snippets Groups Projects
Commit 3ac0da7e authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Affinage indicateur 380 en cas de non alimentation de affectation_fin via MV_INTERVENANT

parent 409a1b01
No related branches found
No related tags found
No related merge requests found
......@@ -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
;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment