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

Bug dans la vue source : la synchro fonctionnait à l'envers pour utilisateur_code

parent 4f3bde2d
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ SELECT ...@@ -4,7 +4,7 @@ SELECT
annee_id, annee_id,
code, code,
code_rh, code_rh,
CASE WHEN sync_utilisateur_code = 1 THEN COALESCE(i_utilisateur_code,s_utilisateur_code) ELSE s_utilisateur_code END utilisateur_code, CASE WHEN sync_utilisateur_code = 1 THEN COALESCE(s_utilisateur_code,i_utilisateur_code) ELSE i_utilisateur_code END utilisateur_code,
CASE WHEN annee_id < current_annee_id THEN intervenant_structure_id ELSE structure_id END structure_id, CASE WHEN annee_id < current_annee_id THEN intervenant_structure_id ELSE structure_id END structure_id,
CASE CASE
WHEN action = 'insert' OR intervenant_histo = 1 THEN statut_source_id WHEN action = 'insert' OR intervenant_histo = 1 THEN statut_source_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment