8179-testToMaster #3176

Merged
alexm merged 407 commits from 8179-testToMaster into master 2024-11-12 06:41:52 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 41af809917 - Show all commits

View File

@ -13,9 +13,10 @@ BEGIN
*/
DECLARE vIsDeleted BOOL;
SELECT SUM(ABS(isDeleted)) INTO vIsDeleted
SELECT COUNT(*) INTO vIsDeleted
FROM ticket
WHERE id IN (vRefundTicketFk, vOriginalTicketFk);
WHERE id IN (vRefundTicketFk, vOriginalTicketFk)
AND isDeleted;
IF vIsDeleted THEN
CALL util.throw('The refund ticket can not be deleted tickets');