Commit c32a7960 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction connecteur octopus sur les affectations

parent 32c4f75e
Loading
Loading
Loading
Loading
+1 −1
Changes for doc/Connecteurs-Import/Octopus/MV_INTERVENANT.sql: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ WITH i AS (
                MAX(source_id) KEEP (DENSE_RANK  LAST ORDER BY CASE WHEN source_id = 'SIHAM' THEN 1 WHEN source_id = 'OCTOREFID' THEN 2 ELSE 999 END DESC,t_principale, date_debut) source_id
             FROM octo.individu_affectation@octoprod
             WHERE type_id = 4
             AND date_fin + 1 >= (SYSDATE - (365 * 2))
             AND COALESCE(date_fin, SYSDATE) + 1 >= (SYSDATE - (365 * 2))
             GROUP BY individu_id
         ),
     --CNU arrangé