salix/db/routines/hedera/procedures/myOrder_addItem.sql

12 lines
263 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `hedera`.`myOrder_addItem`(
vSelf INT,
vWarehouse INT,
vItem INT,
vAmount INT)
BEGIN
CALL myOrder_checkMine(vSelf);
CALL order_addItem(vSelf, vWarehouse, vItem, vAmount);
END$$
DELIMITER ;