fix: refs #6813 procedure

This commit is contained in:
Jorge Penadés 2024-02-13 11:05:21 +01:00
parent d7fb31ee60
commit db2919b482
1 changed files with 2 additions and 2 deletions

View File

@ -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