18 lines
342 B
SQL
18 lines
342 B
SQL
|
|
USE `vn`;
|
|
DROP procedure IF EXISTS `vn`.`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 ;
|
|
;
|