7631_testToMaster_2426 #2634
|
@ -46,7 +46,7 @@ module.exports = Self => {
|
||||||
SELECT COUNT(ish.id) countItemOlder
|
SELECT COUNT(ish.id) countItemOlder
|
||||||
FROM vn.itemShelving ish
|
FROM vn.itemShelving ish
|
||||||
JOIN (
|
JOIN (
|
||||||
SELECT ish.itemFk, created, shelvingFk
|
SELECT ish.itemFk, created, shelvingFk, pickingOrder
|
||||||
FROM vn.itemShelving ish
|
FROM vn.itemShelving ish
|
||||||
JOIN vn.shelving s ON ish.shelvingFk = s.code
|
JOIN vn.shelving s ON ish.shelvingFk = s.code
|
||||||
LEFT JOIN vn.parking p2 ON p2.id = s.parkingFk
|
LEFT JOIN vn.parking p2 ON p2.id = s.parkingFk
|
||||||
|
|
Loading…
Reference in New Issue