feat: refs #6822
This commit is contained in:
parent
6ac30dcb0c
commit
43bbdfd421
|
@ -113,6 +113,8 @@ BEGIN
|
|||
JOIN vn.shelving sh ON sh.id = ish.shelvingFk
|
||||
JOIN vn.parking p ON p.id = sh.parkingFk
|
||||
JOIN vn.sector s ON s.id = p.sectorFk
|
||||
JOIN vn.buy b ON b.id = ish.buyFk
|
||||
JOIN vn.entry e ON e.id = b.entryFk
|
||||
WHERE s.warehouseFk = vWarehouseFk
|
||||
AND sh.parked >= util.VN_CURDATE()
|
||||
GROUP BY ish.itemFk
|
||||
|
|
Loading…
Reference in New Issue