Feat(SQL, UI): Button Icons page, Command Button Links page created with get and set functionality.
This commit is contained in:
@@ -42,7 +42,7 @@ BEGIN
|
||||
CREATE TEMPORARY TABLE IF NOT EXISTS tmp_Msg_Error (
|
||||
id_error INT NOT NULL PRIMARY KEY AUTO_INCREMENT
|
||||
, id_type INT NULL
|
||||
, code VARCHAR(100) NOT NULL
|
||||
, code VARCHAR(250) NOT NULL
|
||||
, msg TEXT NOT NULL
|
||||
);
|
||||
|
||||
@@ -130,7 +130,8 @@ BEGIN
|
||||
|
||||
CREATE TEMPORARY TABLE tmp_Location (
|
||||
id_location INT NOT NULL
|
||||
, code VARCHAR(100)
|
||||
, id_location_parent INT
|
||||
, code VARCHAR(250)
|
||||
, name VARCHAR(250)
|
||||
, active BIT
|
||||
|
||||
@@ -141,7 +142,7 @@ BEGIN
|
||||
CREATE TEMPORARY TABLE IF NOT EXISTS tmp_Msg_Error (
|
||||
id_error INT NOT NULL PRIMARY KEY AUTO_INCREMENT
|
||||
, id_type INT NULL
|
||||
, code VARCHAR(100) NOT NULL
|
||||
, code VARCHAR(250) NOT NULL
|
||||
, msg TEXT NOT NULL
|
||||
);
|
||||
|
||||
@@ -264,6 +265,7 @@ BEGIN
|
||||
|
||||
INSERT INTO tmp_Location (
|
||||
id_location
|
||||
, id_location_parent
|
||||
, code
|
||||
, name
|
||||
, active
|
||||
@@ -273,6 +275,7 @@ BEGIN
|
||||
)
|
||||
SELECT
|
||||
LOCATION_T.id_location
|
||||
, LOCATION_T.id_location_parent
|
||||
, LOCATION_T.code
|
||||
, LOCATION_T.name
|
||||
, LOCATION_T.active
|
||||
@@ -304,6 +307,8 @@ BEGIN
|
||||
IF a_output_LOCATIONS = 1 THEN
|
||||
SELECT
|
||||
t_LOCATIONS.id_location
|
||||
, t_LOCATIONS.id_location_parent
|
||||
, LOCATION_PARENT.name AS name_location_parent
|
||||
, t_LOCATIONS.code
|
||||
, t_LOCATIONS.name
|
||||
, t_LOCATIONS.active
|
||||
@@ -311,7 +316,10 @@ BEGIN
|
||||
, t_LOCATIONS.does_meet_id_filters
|
||||
, t_LOCATIONS.does_meet_non_id_filters
|
||||
FROM tmp_Location t_LOCATIONS
|
||||
ORDER BY t_LOCATIONS.name
|
||||
LEFT JOIN parts.DOG_Location LOCATION_PARENT ON t_LOCATIONS.id_location_parent = LOCATION_PARENT.id_location
|
||||
ORDER BY
|
||||
LOCATION_PARENT.name
|
||||
, t_LOCATIONS.name
|
||||
;
|
||||
END IF;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user