7199-devToTest_2316 #2287
|
@ -60,7 +60,11 @@ BEGIN
|
||||||
(i.value8 <=> its.value8) match8,
|
(i.value8 <=> its.value8) match8,
|
||||||
a.available,
|
a.available,
|
||||||
IFNULL(ip.counter, 0) `counter`,
|
IFNULL(ip.counter, 0) `counter`,
|
||||||
IF(b.groupingMode = 1, b.grouping, b.packing) minQuantity,
|
CASE
|
||||||
|
WHEN b.groupingMode = 1 THEN b.grouping
|
||||||
|
WHEN b.groupingMode = 2 THEN b.packing
|
||||||
|
ELSE 1
|
||||||
|
END AS minQuantity,
|
||||||
iss.visible located
|
iss.visible located
|
||||||
FROM vn.item i
|
FROM vn.item i
|
||||||
JOIN cache.available a ON a.item_id = i.id
|
JOIN cache.available a ON a.item_id = i.id
|
||||||
|
|
Loading…
Reference in New Issue