fix: hotfix #2918

Merged
carlossa merged 2 commits from hotfix-fixSepaCore into master 2024-09-04 11:45:56 +00:00
1 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ SELECT m.code mandateCode,
WHERE m.companyFk = ? WHERE m.companyFk = ?
AND m.finished IS NULL AND m.finished IS NULL
AND c.id = ? AND c.id = ?
AND mt.name = 'CORE' AND mt.code = 'CORE'
AND adt.description = 'Referencia Remesas' AND adt.description = 'Referencia Remesas'
GROUP BY m.id, ad.value GROUP BY m.id, ad.value
ORDER BY m.created DESC ORDER BY m.created DESC