18 lines
369 B
MySQL
18 lines
369 B
MySQL
|
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 ;
|