Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
OSE
Commits
c256dcfc
Commit
c256dcfc
authored
3 years ago
by
Antony Le Courtes
Browse files
Options
Downloads
Patches
Plain Diff
Ajustement MV_INTERVENANT.sql
parent
30166cf8
Branches
master
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Connecteurs-Import/Octopus/MV_INTERVENANT.sql
+2
-2
2 additions, 2 deletions
doc/Connecteurs-Import/Octopus/MV_INTERVENANT.sql
with
2 additions
and
2 deletions
doc/Connecteurs-Import/Octopus/MV_INTERVENANT.sql
+
2
−
2
View file @
c256dcfc
...
...
@@ -30,7 +30,7 @@ MATERIALIZED VIEW MV_INTERVENANT AS
JOIN
octo
.
individu_unique
@
octoprod
uni
ON
icto
.
individu_id
=
uni
.
c_individu_chaine
JOIN
octo
.
v_individu_statut
@
octoprod
vinds
ON
vinds
.
individu_id
=
uni
.
c_individu_chaine
WHERE
icto
.
d_debut
-
184
<=
SYSDATE
AND
icto
.
code_ose
IS
NOT
NULL
WHERE
(
icto
.
d_debut
-
184
<=
SYSDATE
OR
icto
.
d_fin
>=
SYSDATE
)
AND
icto
.
code_ose
IS
NOT
NULL
UNION
ALL
...
...
@@ -52,7 +52,7 @@ MATERIALIZED VIEW MV_INTERVENANT AS
FROM
octo
.
individu_unique
@
octoprod
uni
JOIN
octo
.
individu_statut
@
octoprod
inds
ON
inds
.
individu_id
=
uni
.
c_individu_chaine
LEFT
JOIN
octo
.
v_individu_statut
@
octoprod
vinds
ON
vinds
.
individu_id
=
uni
.
c_individu_chaine
LEFT
JOIN
octo
.
v_individu_contrat_type_ose
@
octoprod
icto
ON
uni
.
c_individu_chaine
=
icto
.
individu_id
AND
icto
.
d_debut
-
184
<=
SYSDATE
AND
icto
.
code_ose
IS
NOT
NULL
LEFT
JOIN
octo
.
v_individu_contrat_type_ose
@
octoprod
icto
ON
uni
.
c_individu_chaine
=
icto
.
individu_id
AND
(
icto
.
d_debut
-
184
<=
SYSDATE
OR
icto
.
d_fin
>=
SYSDATE
)
AND
icto
.
code_ose
IS
NOT
NULL
WHERE
inds
.
d_debut
-
184
<=
SYSDATE
--On ne remonte pas de statut autre pour ceux qui ont déjà un certain type de contrat
--AND icto.individu_id IS NULL
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment