feat: refs #7266 buyFkForPrint #3159
|
@ -7,9 +7,10 @@ BEGIN
|
||||||
* @param vSelf matrícula del carro
|
* @param vSelf matrícula del carro
|
||||||
**/
|
**/
|
||||||
SELECT ish.itemFk item,
|
SELECT ish.itemFk item,
|
||||||
IFNULL(i.longName, CONCAT(i.name, ' ', i.size)) description,
|
i.name,
|
||||||
|
i.longName,
|
||||||
|
i.size,
|
||||||
ish.visible,
|
ish.visible,
|
||||||
CEIL(ish.visible/ish.packing) stickers,
|
|
||||||
ish.packing,
|
ish.packing,
|
||||||
ish.grouping,
|
ish.grouping,
|
||||||
p.code,
|
p.code,
|
||||||
|
@ -17,7 +18,8 @@ BEGIN
|
||||||
s.priority,
|
s.priority,
|
||||||
ish.isChecked,
|
ish.isChecked,
|
||||||
ic.url,
|
ic.url,
|
||||||
ish.available
|
ish.available,
|
||||||
|
ish.buyFk
|
||||||
FROM itemShelving ish
|
FROM itemShelving ish
|
||||||
JOIN item i ON i.id = ish.itemFk
|
JOIN item i ON i.id = ish.itemFk
|
||||||
JOIN shelving s ON vSelf = s.code COLLATE utf8_unicode_ci
|
JOIN shelving s ON vSelf = s.code COLLATE utf8_unicode_ci
|
||||||
|
|
Loading…
Reference in New Issue