Merge branch 'master' into develop
Some checks failed
IntegryManagementSystem_Multi/pipeline/head There was a failure building this commit
Some checks failed
IntegryManagementSystem_Multi/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -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 " +
|
||||||
|
|||||||
Reference in New Issue
Block a user