feat: ref#7902 Triggers vn.ticketRefund to control deleted tickets
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
0ca1db7633
commit
08c7bd2c42
|
@ -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 ;
|
||||||
|
|
Loading…
Reference in New Issue