Commit 5ef6c603 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Correction d'un bug au niveau d'une jointure entrainant des doublons

parent 36259f94
......@@ -454,8 +454,8 @@ CREATE OR REPLACE PACKAGE BODY "UNICAEN_TBL" AS
AND sep.type_intervention_id = ti.id
LEFT JOIN seuils_perso se ON se.etape_id = n.element_pedagogique_etape_id
AND sep.scenario_id = sn.scenario_id
AND sep.type_intervention_id = ti.id
AND se.scenario_id = sn.scenario_id
AND se.type_intervention_id = ti.id
LEFT JOIN tbl_chargens_seuils_def sd ON sd.annee_id = n.annee_id
AND sd.scenario_id = sn.scenario_id
......
......@@ -95,8 +95,8 @@ FROM
AND sep.type_intervention_id = ti.id
LEFT JOIN seuils_perso se ON se.etape_id = n.element_pedagogique_etape_id
AND sep.scenario_id = sn.scenario_id
AND sep.type_intervention_id = ti.id
AND se.scenario_id = sn.scenario_id
AND se.type_intervention_id = ti.id
LEFT JOIN tbl_chargens_seuils_def sd ON sd.annee_id = n.annee_id
AND sd.scenario_id = sn.scenario_id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment