Skip to content
Snippets Groups Projects
Commit 099a505d authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction de bug :le workflow plantait qd on lui envoyait du SQL sous forme...

Correction de bug :le workflow plantait qd on lui envoyait du SQL sous forme de varchar et non de params
parent c3a3c1ff
No related branches found
No related tags found
Loading
......@@ -28658,6 +28658,10 @@ END OSE_WORKFLOW;',
 
 
intervenant := \'
SELECT
*
FROM
(
SELECT
id intervenant_id,
annee_id annee_id,
......@@ -28665,6 +28669,9 @@ END OSE_WORKFLOW;',
premier_recrutement premier_recrutement
FROM
intervenant
)
WHERE
\' || p || \'
\';
 
 
......@@ -28931,8 +28938,7 @@ END OSE_WORKFLOW;',
UNION ALL \' || contrat || \'
) w ON w.intervenant_id = i.intervenant_id AND w.etape_code = e.code
WHERE
\' || unicaen_tbl.params_to_conds(params,\'i\') || \'
AND (e.obligatoire = 1 OR w.intervenant_id IS NOT NULL)
e.obligatoire = 1 OR w.intervenant_id IS NOT NULL
\';
END;
 
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment