incluye fecha de ayer
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
c80c8a5678
commit
7cf46fc6cd
|
@ -73,7 +73,7 @@ BEGIN
|
|||
INSERT INTO tmp.ekt
|
||||
SELECT id
|
||||
FROM ekt
|
||||
WHERE fec = vFec
|
||||
WHERE fec >= vFec - INTERVAL 1 DAY
|
||||
AND ((
|
||||
vKlo = vDefaultKlo
|
||||
AND (klo = vKlo OR klo IS NULL OR klo = 0)
|
||||
|
@ -82,7 +82,7 @@ BEGIN
|
|||
AND auction = vAuction
|
||||
AND agj = vShortAgj)
|
||||
)
|
||||
ORDER BY agj DESC
|
||||
ORDER BY agj DESC, fec DESC
|
||||
LIMIT 1;
|
||||
|
||||
SELECT COUNT(*) FROM tmp.ekt INTO vIsFound;
|
||||
|
|
Loading…
Reference in New Issue