fix: refs#8011 previousSticker_get
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Andrés 2024-09-20 13:54:22 +02:00
parent 190c964ec2
commit e25415f820
1 changed files with 1 additions and 1 deletions

View File

@ -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