#6964 _ itemOlder #2197

Merged
sergiodt merged 26 commits from 6964_itemOlder into dev 2024-04-04 14:18:20 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 7634d82d8b - Show all commits

View File

@ -46,10 +46,9 @@ module.exports = Self => {
SELECT COUNT(ish.id) countItemOlder
FROM vn.itemShelving ish
JOIN (
sergiodt marked this conversation as resolved Outdated

Tabulació

Tabulació
SELECT ish.itemFk, created,shelvingFk, p.code
SELECT ish.itemFk, created,shelvingFk
sergiodt marked this conversation as resolved Outdated

en la subconsulta el p.code y el LEFT JOIN vn.parking p ON p.id = s.parkingFk sirven para algo??

en la subconsulta el p.code y el LEFT JOIN vn.parking p ON p.id = s.parkingFk sirven para algo??

Llevat

Llevat
FROM vn.itemShelving ish
JOIN vn.shelving s ON ish.shelvingFk = s.code
LEFT JOIN vn.parking p ON p.id = s.parkingFk
WHERE ish.shelvingFk = ?
)sub ON sub.itemFK = ish.itemFk
JOIN vn.shelving s ON s.code = ish.shelvingFk
sergiodt marked this conversation as resolved Outdated
Outdated
Review

falta gastar la transaccio (...shelvingFkOut, itemFk, itemFk], options)

falta gastar la transaccio (...shelvingFkOut, itemFk, itemFk], options)

Llevat options

Llevat options
Outdated
Review

Es ficarlo sino no gastarà la transaccio

Es ficarlo sino no gastarà la transaccio

L'he posat però no veia que fera falta...

L'he posat però no veia que fera falta...