diff --git a/services/db/changes/1.0.3/03-ticketListVolume.sql b/services/db/changes/1.0.3/03-ticketListVolume.sql new file mode 100644 index 000000000..e2bb7c4f8 --- /dev/null +++ b/services/db/changes/1.0.3/03-ticketListVolume.sql @@ -0,0 +1,15 @@ +USE `vn`; +DROP procedure IF EXISTS `ticketListVolume`; + +DELIMITER $$ +USE `vn`$$ +CREATE DEFINER=`root`@`%` PROCEDURE `ticketListVolume`(IN vTicketId INT) +BEGIN + + CALL vn.ticketVolume(vTicketId); + + SELECT * FROM vn.ticketVolume; +END$$ + +DELIMITER ; +