parent
7a0bbb9bce
commit
d6de26963b
1 changed files with 3 additions and 3 deletions
|
|
@ -126,17 +126,17 @@ public class MoneyBalanceRegisterService extends QueueConsumer implements Initia
|
|||
|
||||
private String getSqlForRemainderSum(Long companyId, String account) {
|
||||
log.trace("Started generating sql predicate for registries remainder sum...");
|
||||
return String.format("companyId = '%s' and account = '%s' and registryCode LIKE 'AM_T'", companyId);
|
||||
return String.format("companyId = '%s' and account = '%s' and registryCode LIKE 'AM_T'", companyId, account);
|
||||
}
|
||||
|
||||
private String getSqlForBlockedSum(Long companyId, String account) {
|
||||
log.trace("Started generating sql predicate for registries blocked sum...");
|
||||
return String.format("companyId = '%s' and account = '%s' and registryCode LIKE 'AM_B'", companyId);
|
||||
return String.format("companyId = '%s' and account = '%s' and registryCode LIKE 'AM_B'", companyId, account);
|
||||
}
|
||||
|
||||
private String getSqlForUnblockedSum(Long companyId, String account) {
|
||||
log.trace("Started generating sql predicate for registries unblocked sum...");
|
||||
return String.format("companyId = '%s' and account = '%s' and registryCode LIKE 'AM_F'", companyId);
|
||||
return String.format("companyId = '%s' and account = '%s' and registryCode LIKE 'AM_F'", companyId, account);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue