Merge pull request 'item_get' (!2309) from 6021-floranet_item_get into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2309
Reviewed-by: Pablo Natek <pablone@verdnatura.es>
This commit is contained in:
Pako Natek 2024-04-16 15:46:59 +00:00
commit 145aeb5834
1 changed files with 15 additions and 0 deletions

View File

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