7525-devToTest #2542

Merged
alexm merged 231 commits from 7525-devToTest into test 2024-06-04 07:59:34 +00:00
1 changed files with 11 additions and 2 deletions
Showing only changes of commit 0d620c6f33 - Show all commits

View File

@ -79,8 +79,6 @@ BEGIN
klo = vKlo klo = vKlo
AND auction = vAuction AND auction = vAuction
AND agj = vShortAgj AND agj = vShortAgj
) OR (
klo = auction -- No se si se refiere a esto
) )
) )
ORDER BY agj DESC, fec DESC ORDER BY agj DESC, fec DESC
@ -122,6 +120,17 @@ BEGIN
SELECT COUNT(*) FROM tmp.ekt INTO vIsFound; SELECT COUNT(*) FROM tmp.ekt INTO vIsFound;
END IF; END IF;
-- Solo campo agj
IF NOT vIsFound THEN
INSERT INTO tmp.ekt
SELECT id
FROM ektRecent
WHERE agj = vShortAgj;
SELECT COUNT(*) FROM tmp.ekt INTO vIsFound;
END IF;
END CASE; END CASE;
IF vIsFound THEN IF vIsFound THEN