fix: refs #6813 procedure
This commit is contained in:
parent
d7fb31ee60
commit
db2919b482
|
@ -8,10 +8,10 @@ BEGIN
|
|||
END;
|
||||
|
||||
START TRANSACTION;
|
||||
UPDATE vn.`client` c
|
||||
UPDATE vn.client c
|
||||
JOIN vn.payMethod pm ON pm.id = c.payMethodFk
|
||||
SET credit = 0
|
||||
WHERE pm.`code` = 'card';
|
||||
WHERE pm.code = 'card';
|
||||
|
||||
DROP TEMPORARY TABLE IF EXISTS clientes_credit;
|
||||
CREATE TEMPORARY TABLE clientes_credit
|
||||
|
|
Loading…
Reference in New Issue