Merge branch 'master' into develop
Some checks failed
IntegryManagementSystem_Multi/pipeline/head There was a failure building this commit

This commit is contained in:
2024-11-08 14:54:45 +01:00

View File

@@ -619,7 +619,7 @@ public class AccountingRules extends QueryRules {
} else { } else {
String sql = String sql =
Query.format( Query.format(
"SELECT cast(count(*) as bit)" + "SELECT cast(case when count(*) > 1 THEN 1 ELSE 0 eND as bit) " +
" FROM ctb_parr " + " FROM ctb_parr " +
" WHERE cod_anag = %s AND " + " WHERE cod_anag = %s AND " +
"tipo_anag = %s AND " + "tipo_anag = %s AND " +