fix: refs #8087 correct SQL join condition in entry_beforeUpdate trigger #3246

Merged
pablone merged 2 commits from 8087-correctFix into master 2024-11-26 08:20:11 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 3057d80e76 - Show all commits

View File

@ -41,7 +41,7 @@ BEGIN
SELECT isRaid INTO vIsRaid
FROM travel t
JOIN entry e ON e.travelFk = t.id
WHERE t.entryFk = NEW.id;
WHERE e.id = NEW.id;
SELECT NOT (o.warehouseInFk <=> n.warehouseInFk)
OR NOT (o.warehouseOutFk <=> n.warehouseOutFk)