Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 7116-agencyIncoming
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-07-10 07:26:09 +02:00
commit 5264888f06
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ DO BEGIN
SELECT id INTO vClaimState SELECT id INTO vClaimState
FROM claimState cs FROM claimState cs
WHERE cs.code = 'canceled'; WHERE cs.code = 'canceled';
UPDATE claim c UPDATE claim c
JOIN claimState cs ON cs.id = c.claimStateFk JOIN claimState cs ON cs.id = c.claimStateFk
SET c.claimStateFk = vClaimState SET c.claimStateFk = vClaimState