20 lines
576 B
MySQL
20 lines
576 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`itemShelving_update`(vVisible INT, vPacking INT, vShelf INT ,vGrouping INT )
|
||
|
BEGIN
|
||
|
/**
|
||
|
* Actualiza itemShelving.
|
||
|
*
|
||
|
* @param vVisible la cantidad visible del registro a actualizar
|
||
|
* @param vShelf el id del registro a actualizar
|
||
|
* @param vPacking el packing del del producto en itemShelving
|
||
|
* @param vGrouping el grouping del producto en itemShelving
|
||
|
*/
|
||
|
UPDATE itemShelving
|
||
|
SET visible = vVisible,
|
||
|
packing = vPacking,
|
||
|
grouping = vGrouping
|
||
|
WHERE id = vShelf;
|
||
|
|
||
|
END$$
|
||
|
DELIMITER ;
|