From 255a2c52839d4c363a6a802aae7e6a91aa05ecaf Mon Sep 17 00:00:00 2001 From: guillermo Date: Thu, 30 May 2024 07:18:30 +0200 Subject: [PATCH] fix: refs #7258 Proc bs.claim_ratio_routine --- db/routines/bi/procedures/claim_ratio_routine.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/routines/bi/procedures/claim_ratio_routine.sql b/db/routines/bi/procedures/claim_ratio_routine.sql index ae87e15a2..40b879483 100644 --- a/db/routines/bi/procedures/claim_ratio_routine.sql +++ b/db/routines/bi/procedures/claim_ratio_routine.sql @@ -48,7 +48,7 @@ BEGIN -- Marcamos para no repetir UPDATE vn.claimEnd ce JOIN vn.claim c ON c.id = ce.claimFk - SET c.isChargedToMana = TRUE + SET ce.isGreuge = TRUE WHERE ce.claimDestinationFk NOT IN (1,5) AND NOT ce.isGreuge AND c.claimStateFk = 3;