hotfix: ticket #179514 ticket_close packaging fix
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
2b6d4198ad
commit
d44b8f7c9a
|
@ -63,7 +63,7 @@ BEGIN
|
|||
INSERT INTO ticketPackaging (ticketFk, packagingFk, quantity)
|
||||
(SELECT vCurTicketFk, p.id, COUNT(*)
|
||||
FROM expedition e
|
||||
JOIN packaging p ON p.itemFk = e.freightItemFk
|
||||
JOIN packaging p ON p.id = e.packagingFk
|
||||
WHERE e.ticketFk = vCurTicketFk AND p.isPackageReturnable
|
||||
AND vWithPackage
|
||||
GROUP BY p.itemFk);
|
||||
|
|
Loading…
Reference in New Issue