fix: acls #2999
|
@ -17,7 +17,7 @@ BEGIN
|
|||
DECLARE vTicketLines INT;
|
||||
|
||||
WITH ticketData AS(
|
||||
SELECT s.ticketFk
|
||||
SELECT DISTINCT s.ticketFk
|
||||
FROM vn.saleGroupDetail sgd
|
||||
JOIN vn.sale s ON s.id = sgd.saleFk
|
||||
WHERE sgd.saleGroupFk = vSaleGroupFk
|
||||
|
|
Loading…
Reference in New Issue