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
b22d5d06
Commit
b22d5d06
authored
3 years ago
by
Antony Le Courtes
Browse files
Options
Downloads
Patches
Plain Diff
Affinage de l'indicateur 380
parent
dccdf3f0
Branches
Branches containing commit
Tags
0.1
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/ddl/view/V_INDICATEUR_380.sql
+5
-2
5 additions, 2 deletions
data/ddl/view/V_INDICATEUR_380.sql
with
5 additions
and
2 deletions
data/ddl/view/V_INDICATEUR_380.sql
+
5
−
2
View file @
b22d5d06
...
...
@@ -5,11 +5,14 @@ SELECT
FROM
(
SELECT
i
.
id
intervenant_id
,
i
.
annee_id
annee_id
,
i
.
structure_id
structure_id
MAX
(
i
.
annee_id
)
annee_id
,
MAX
(
i
.
structure_id
)
structure_id
FROM
intervenant
i
JOIN
contrat
c
ON
c
.
intervenant_id
=
i
.
id
AND
c
.
histo_destruction
IS
NULL
JOIN
statut_intervenant
si
ON
si
.
id
=
i
.
statut_id
WHERE
i
.
export_date
IS
NULL
AND
si
.
code
!=
'BIATSS'
AND
si
.
type_intervenant_id
=
2
AND
i
.
affectation_fin
<
sysdate
AND
c
.
date_retour_signe
IS
NOT
NULL
AND
i
.
annee_id
=
(
SELECT
valeur
FROM
parametre
p
WHERE
nom
=
'annee'
)
...
...
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