Fix in accounting rule system_defined
This commit is contained in:
committed by
Arnold Gálovics
parent
5942488bde
commit
e277c85c69
+1
-1
@@ -152,7 +152,7 @@ public class AccountingRuleReadPlatformServiceImpl implements AccountingRuleRead
|
|||||||
final AccountingRuleDataExtractor resultSetExtractor = new AccountingRuleDataExtractor(this.jdbcTemplate,
|
final AccountingRuleDataExtractor resultSetExtractor = new AccountingRuleDataExtractor(this.jdbcTemplate,
|
||||||
this.glAccountReadPlatformService, isAssociationParametersExists);
|
this.glAccountReadPlatformService, isAssociationParametersExists);
|
||||||
Object[] arguments = new Object[] {};
|
Object[] arguments = new Object[] {};
|
||||||
String sql = "select " + resultSetExtractor.schema() + " and system_defined=0 ";
|
String sql = "select " + resultSetExtractor.schema() + " and system_defined=false ";
|
||||||
if (hierarchySearchString != null) {
|
if (hierarchySearchString != null) {
|
||||||
sql = sql + " and office.hierarchy like ?";
|
sql = sql + " and office.hierarchy like ?";
|
||||||
arguments = new Object[] { hierarchySearchString };
|
arguments = new Object[] { hierarchySearchString };
|
||||||
|
|||||||
Reference in New Issue
Block a user