fix: refs #7141 catalog_calculate #2207
|
@ -78,7 +78,8 @@ BEGIN
|
||||||
|
|
||||||
SELECT price INTO vNewPrice
|
SELECT price INTO vNewPrice
|
||||||
FROM tmp.ticketComponentPrice
|
FROM tmp.ticketComponentPrice
|
||||||
WHERE (vQuantity % `grouping` = 0);
|
ORDER BY (vQuantity % `grouping`) ASC
|
||||||
|
LIMIT 1;
|
||||||
|
|
||||||
IF vNewPrice IS NULL THEN
|
IF vNewPrice IS NULL THEN
|
||||||
CALL util.throw('price retrieval failed');
|
CALL util.throw('price retrieval failed');
|
||||||
|
|
Loading…
Reference in New Issue