feat: refs #6500 procRefactor8 #2131
|
@ -39,7 +39,7 @@ BEGIN
|
|||
WHERE credit > 0;
|
||||
|
||||
UPDATE client c
|
||||
JOIN tCreditClients cc ON cc.clientFk = c.clientFk
|
||||
JOIN tCreditClients cc ON cc.clientFk = c.id
|
||||
SET c.credit = newCredit;
|
||||
|
||||
DROP TEMPORARY TABLE tCreditClients;
|
||||
|
|
Loading…
Reference in New Issue