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