This commit is contained in:
parent
dddcacee7a
commit
2d18f01a15
|
@ -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