This commit is contained in:
parent
b1e8cdfd86
commit
1140e6bbd3
|
@ -13,25 +13,16 @@ BEGIN
|
||||||
*/
|
*/
|
||||||
DECLARE vQuery TEXT;
|
DECLARE vQuery TEXT;
|
||||||
SET vQuery = '
|
SET vQuery = '
|
||||||
SELECT isl.itemShelvingFk,
|
SELECT isl.itemFk,
|
||||||
isl.created,
|
i.longName,
|
||||||
isl.accion,
|
|
||||||
isl.itemFk,
|
|
||||||
isl.shelvingFk,
|
isl.shelvingFk,
|
||||||
|
w.code,
|
||||||
|
isl.accion,
|
||||||
isl.quantity,
|
isl.quantity,
|
||||||
isl.visible,
|
isl.created
|
||||||
isl.available,
|
FROM item i
|
||||||
isl.`grouping`,
|
JOIN itemShelvingLog isl ON i.id = isl.itemFk
|
||||||
isl.packing,
|
JOIN worker w ON isl.workerFk = w.id
|
||||||
isl.stars,
|
|
||||||
item.longName,
|
|
||||||
item.size,
|
|
||||||
item.subName,
|
|
||||||
worker.code,
|
|
||||||
isl.accion
|
|
||||||
FROM item
|
|
||||||
JOIN itemShelvingLog isl ON item.id = isl.itemFk
|
|
||||||
JOIN worker ON isl.workerFk = worker.id
|
|
||||||
WHERE shelvingFk = ?
|
WHERE shelvingFk = ?
|
||||||
OR isl.itemFk = ?
|
OR isl.itemFk = ?
|
||||||
ORDER BY isl.created DESC';
|
ORDER BY isl.created DESC';
|
||||||
|
|
Loading…
Reference in New Issue