Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b196c2f4
authored
Dec 01, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
procedure changes
parent
e16db478
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sails/roles/database/files/triggers-enrolments-integrity-constraints.sql
sails/roles/database/files/triggers-enrolments-integrity-constraints.sql
View file @
b196c2f4
...
...
@@ -102,7 +102,7 @@ BEGIN
IF
(
_num_pictos
>
0
)
THEN
-- Selecciona el texto para el tablero hijo
SELECT
CAST
(
lang
AS
CHAR
(
5
))
INTO
_lang
FROM
student
WHERE
id
=
_id_stu
LIMIT
1
;
SELECT
lang
INTO
_lang
FROM
student
WHERE
id
=
_id_stu
LIMIT
1
;
SELECT
`text`
INTO
_grid_name
FROM
picto_exp
WHERE
id_pic
=
_id_pic
AND
lang
=
_lang
LIMIT
1
;
-- Crea el nuevo tablero hijo
...
...
@@ -117,7 +117,7 @@ BEGIN
ELSE
-- Inserta los pictogramas correspondientes en el tablero recien creado
SELECT
CAST
(
lang
AS
CHAR
(
5
))
INTO
_lang
FROM
student
WHERE
id
=
_id_stu
LIMIT
1
;
SELECT
lang
INTO
_lang
FROM
student
WHERE
id
=
_id_stu
LIMIT
1
;
SELECT
`text`
INTO
_grid_name
FROM
picto_exp
WHERE
id_pic
=
_id_cat_pic
AND
lang
=
_lang
LIMIT
1
;
SELECT
id
INTO
_id_grid
FROM
grid
WHERE
name
=
_grid_name
AND
id_stu
=
_id_stu
LIMIT
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment