feat: ref#7902 Triggers vn.ticketRefund to control deleted tickets
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Andrés 2024-09-02 17:59:31 +02:00
parent 0ca1db7633
commit 08c7bd2c42
1 changed files with 0 additions and 2 deletions

View File

@ -2,7 +2,6 @@ DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`ticketRefund_upsert`( CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`ticketRefund_upsert`(
vRefundTicketFk INT, vRefundTicketFk INT,
vOriginalTicketFk INT vOriginalTicketFk INT
) )
READS SQL DATA READS SQL DATA
BEGIN BEGIN
@ -21,6 +20,5 @@ BEGIN
IF vIsDeleted THEN IF vIsDeleted THEN
CALL util.throw('The refund ticket can not be deleted tickets'); CALL util.throw('The refund ticket can not be deleted tickets');
END IF; END IF;
END$$ END$$
DELIMITER ; DELIMITER ;