Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSE
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
OSE
Commits
5d59ebf3
Commit
5d59ebf3
authored
Apr 8, 2021
by
Laurent Lecluse
Browse files
Options
Downloads
Patches
Plain Diff
Optimisation aussi
parent
d1acba72
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/ddl/package/OSE_DIVERS/body.sql
+4
-4
4 additions, 4 deletions
data/ddl/package/OSE_DIVERS/body.sql
with
4 additions
and
4 deletions
data/ddl/package/OSE_DIVERS/body.sql
+
4
−
4
View file @
5d59ebf3
...
...
@@ -17,11 +17,11 @@ CREATE OR REPLACE PACKAGE BODY "OSE_DIVERS" AS
END
IF
;
-- Sinon on calcule en fonction du nombre du semestre
IF
horaire_debut
IS
NULL
AND
horaire_fin
IS
NULL
AND
periode_id
IS
NOT
NULL
THEN
IF
CPA_S1_ID
IS
NULL
THEN
SELECT
id
INTO
CPA_S1_ID
FROM
periode
WHERE
code
=
'S1'
;
END
IF
;
IF
horaire_debut
IS
NULL
AND
horaire_fin
IS
NULL
THEN
IF
periode_id
=
CPA_S1_ID
THEN
RETURN
ose_parametre
.
get_pourc_s1_annee_civ
;
ELSE
...
...
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