refs #6964 feat: hasItemOlder
This commit is contained in:
parent
d1affb1191
commit
0914925a86
|
@ -46,7 +46,7 @@ module.exports = Self => {
|
|||
SELECT COUNT(ish.id) countItemOlder
|
||||
FROM vn.itemShelving ish
|
||||
JOIN (
|
||||
SELECT ish.itemFk, created, shelvingFk
|
||||
SELECT ish.itemFk, created, shelvingFk, pickingOrder
|
||||
FROM vn.itemShelving ish
|
||||
JOIN vn.shelving s ON ish.shelvingFk = s.code
|
||||
LEFT JOIN vn.parking p2 ON p2.id = s.parkingFk
|
||||
|
|
Loading…
Reference in New Issue