7729-devToTest_2430 #2739

Merged
alexm merged 339 commits from 7729-devToTest_2430 into test 2024-07-16 07:11:37 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit ef50d493f1 - Show all commits

View File

@ -10,13 +10,13 @@ DO BEGIN
SELECT id INTO vClaimStete
FROM claimState cs
WHERE cs.code = 'canceled'
WHERE cs.code = 'canceled';
UPDATE claim c
JOIN claimState cs ON cs.id = c.claimStateFk
SET c.claimStateFk = vClaimStete
WHERE c.created < util.VN_CURDATE() - INTERVAL 2 MONTH
AND cs.code IN('incomplete','coming','waiting','out')
AND cs.code IN('incomplete','coming','waiting','out');
END$$
DELIMITER ;