Commit 83ec5339 authored by Florian Joriot's avatar Florian Joriot
Browse files

Correction a minima

Jointure sur service a faire
parent 8cb90984
Loading
Loading
Loading
Loading
+3 −3
Changes for data/ddl/view/V_INDICATEUR_910.sql: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -5,9 +5,9 @@ SELECT
  Max(vh.HISTO_MODIFICATION) AS "Date de modification"
FROM
  tbl_workflow w
  JOIN type_volume_horaire tvh ON tvh.code = 'REALISE'
  JOIN contrat c ON c.intervenant_id = w.intervenant_id
  JOIN volume_horaire vh ON c.id = vh.contrat_id
  LEFT JOIN type_volume_horaire tvh ON tvh.code = 'REALISE'
  LEFT JOIN contrat c ON c.intervenant_id = w.intervenant_id
  LEFT JOIN volume_horaire vh ON c.id = vh.contrat_id
WHERE
  w.etape_code = 'DEMANDE_MEP'
  AND w.type_intervenant_code = 'E'
+3 −3
Changes for data/ddl/view/V_INDICATEUR_920.sql: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -5,9 +5,9 @@ SELECT
  Max(vh.HISTO_MODIFICATION) AS "Date de modification"
FROM
  tbl_workflow w
  JOIN type_volume_horaire tvh ON tvh.code = 'REALISE'
  JOIN contrat c ON c.intervenant_id = w.intervenant_id
  JOIN volume_horaire vh ON c.id = vh.contrat_id
  LEFT JOIN type_volume_horaire tvh ON tvh.code = 'REALISE'
  LEFT JOIN contrat c ON c.intervenant_id = w.intervenant_id
  LEFT JOIN volume_horaire vh ON c.id = vh.contrat_id
WHERE
  w.etape_code = 'DEMANDE_MEP'
  AND w.type_intervenant_code = 'P'