add procedure orderListTax

This commit is contained in:
Bernat 2018-08-06 21:00:44 +02:00
parent e067420255
commit 3b3bc52b53
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
USE `hedera`;
DROP procedure IF EXISTS `orderListTax`;
DELIMITER $$
USE `hedera`$$
CREATE DEFINER=`root`@`%` PROCEDURE `orderListTax`(IN vOrderId INT)
BEGIN
CALL hedera.orderGetTax(vOrderId);
SELECT * FROM tmp.orderTax;
END$$
DELIMITER ;