fix: refs #6021 catalogue_findById #2312

Merged
pablone merged 6 commits from 6021-fix-item_get into dev 2024-04-16 16:00:56 +00:00
1 changed files with 3 additions and 5 deletions

View File

@ -1,15 +1,13 @@
DELIMITER $$
$$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE floranet.item_get(vCatalogueFk INT)
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE floranet.catalogue_findById(vSelf INT)
READS SQL DATA
BEGIN
/**
* Returns one recordset from catalogue
*
* @param vCatalogueFk Identifier de vn.catalogue
* @param vCatalogueFk Identifier de floranet.catalogue
*/
SELECT *
FROM catalogue
WHERE id = vCatalogueFk;
SELECT * FROM catalogue WHERE id = vSelf;
END$$
DELIMITER ;