fix: timesstampadd to interval
gitea/salix/pipeline/pr-master This commit looks good
Details
gitea/salix/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
6c4b1cd522
commit
eb22a77e25
|
@ -25,8 +25,9 @@ UPDATE shelving sh
|
|||
AND (
|
||||
sh.parked IS NULL
|
||||
OR
|
||||
sh.parked < TIMESTAMPADD(WEEK,-2,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 (
|
||||
SELECT DISTINCT LEFT(its.shelvingFk, 2)
|
||||
FROM itemShelving its
|
||||
|
|
Loading…
Reference in New Issue