17 lines
333 B
SQL
17 lines
333 B
SQL
USE `vn`;
|
|
DROP procedure IF EXISTS `ticketCalculate`;
|
|
|
|
DELIMITER $$
|
|
USE `vn`$$
|
|
CREATE DEFINER=`root`@`%` PROCEDURE `ticketCalculate`(
|
|
vLanded DATE,
|
|
vAddressFk INT,
|
|
vAgencyModeFk INT)
|
|
proc: BEGIN
|
|
-- OBSOLETO utilizar catalog_calculate
|
|
CALL vn.catalog_calculate(vLanded, vAddressFk, vAgencyModeFk);
|
|
END$$
|
|
|
|
DELIMITER ;
|
|
|