This commit is contained in:
Pablo Natek 2024-01-31 14:58:08 +01:00
parent 3d2d406113
commit 3182bfa46c
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ BEGIN
JOIN item i ON i.id = b.itemFk
JOIN tmp.buysToCheck bt ON bt.id = b.id
WHERE (i.weightByPiece IS NULL OR i.`size` IS NULL)
AND a.hasWeightVolumetric
LIMIT 1;
DROP TEMPORARY TABLE IF EXISTS tmp.buysToCheck;