refs #6651 feat:add urlImage #2015

Merged
sergiodt merged 3 commits from 6651_itemShelving_get into dev 2024-02-12 06:24:57 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 08728d3162 - Show all commits

View File

@ -15,11 +15,13 @@ BEGIN
p.code,
ish.id,
s.priority,
ish.isChecked
ish.isChecked,
CONCAT('http:', ic.url, '/catalog/200x200/', i.image) urlImage
sergiodt marked this conversation as resolved Outdated

Debería de hacerlo el cliente, en la consulta no se debe de dar formato a los datos

Debería de hacerlo el cliente, en la consulta no se debe de dar formato a los datos

Modificat per a que el client concatene

Modificat per a que el client concatene
FROM itemShelving ish
JOIN item i ON i.id = ish.itemFk
JOIN shelving s ON vSelf = s.code COLLATE utf8_unicode_ci
LEFT JOIN parking p ON s.parkingFk = p.id
JOIN hedera.imageConfig ic
WHERE ish.shelvingFk COLLATE utf8_unicode_ci = vSelf;
END$$
DELIMITER ;