Merge pull request 'fix(shelving_clean): less time por shelving removal' (!2988) from fixShelvingClean into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2988 Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
commit
cd545c0001
|
@ -25,8 +25,9 @@ UPDATE shelving sh
|
||||||
AND (
|
AND (
|
||||||
sh.parked IS NULL
|
sh.parked IS NULL
|
||||||
OR
|
OR
|
||||||
sh.parked < TIMESTAMPADD(MONTH,-1,util.VN_CURDATE())
|
sh.parked < util.VN_CURDATE() - INTERVAL 2 WEEK
|
||||||
)
|
)
|
||||||
|
|
||||||
AND IF(code REGEXP '^[A-Za-z]{2}[0-9]', LEFT (code, 2) NOT IN (
|
AND IF(code REGEXP '^[A-Za-z]{2}[0-9]', LEFT (code, 2) NOT IN (
|
||||||
SELECT DISTINCT LEFT(its.shelvingFk, 2)
|
SELECT DISTINCT LEFT(its.shelvingFk, 2)
|
||||||
FROM itemShelving its
|
FROM itemShelving its
|
||||||
|
|
Loading…
Reference in New Issue