salix/db/routines/vn/procedures/itemPlacementSupplyCloseOrd...

11 lines
233 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` PROCEDURE `vn`.`itemPlacementSupplyCloseOrder`(vId INT, vQuantity INT)
BEGIN
UPDATE vn.itemPlacementSupply
SET priority = 10
WHERE id = vId;
END$$
DELIMITER ;