18 lines
369 B
SQL
18 lines
369 B
SQL
USE `hedera`;
|
|
DROP procedure IF EXISTS `orderConfirm`;
|
|
|
|
DELIMITER $$
|
|
USE `hedera`$$
|
|
CREATE DEFINER=`root`@`%` PROCEDURE `orderConfirm`(vOrder INT)
|
|
BEGIN
|
|
/**
|
|
* Confirms an order, creating each of its tickets on
|
|
* the corresponding date and store.
|
|
*
|
|
* @param vOrder The order identifier
|
|
*/
|
|
CALL orderConfirmWithUser(vOrder, account.userGetId());
|
|
|
|
END$$
|
|
|
|
DELIMITER ; |