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
Tags 1.1.1
No related merge requests found
...@@ -28658,6 +28658,10 @@ END OSE_WORKFLOW;', ...@@ -28658,6 +28658,10 @@ END OSE_WORKFLOW;',
   
   
intervenant := \' intervenant := \'
SELECT
*
FROM
(
SELECT SELECT
id intervenant_id, id intervenant_id,
annee_id annee_id, annee_id annee_id,
...@@ -28665,6 +28669,9 @@ END OSE_WORKFLOW;', ...@@ -28665,6 +28669,9 @@ END OSE_WORKFLOW;',
premier_recrutement premier_recrutement premier_recrutement premier_recrutement
FROM FROM
intervenant intervenant
)
WHERE
\' || p || \'
\'; \';
   
   
...@@ -28931,8 +28938,7 @@ END OSE_WORKFLOW;', ...@@ -28931,8 +28938,7 @@ END OSE_WORKFLOW;',
UNION ALL \' || contrat || \' UNION ALL \' || contrat || \'
) w ON w.intervenant_id = i.intervenant_id AND w.etape_code = e.code ) w ON w.intervenant_id = i.intervenant_id AND w.etape_code = e.code
WHERE WHERE
\' || unicaen_tbl.params_to_conds(params,\'i\') || \' e.obligatoire = 1 OR w.intervenant_id IS NOT NULL
AND (e.obligatoire = 1 OR w.intervenant_id IS NOT NULL)
\'; \';
END; END;
   
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment