MIFOSX-2061 : charges for savings are specific for branch

This commit is contained in:
venkatconflux
2015-06-04 11:51:31 +05:30
parent 52b5efdf89
commit 1947031aca
@@ -353,6 +353,7 @@ public class ChargeReadPlatformServiceImpl implements ChargeReadPlatformService
String sql = "select " + rm.chargeSchema() + " join m_savings_account sa on sa.currency_code = c.currency_code"
+ " where c.is_deleted=0 and c.is_active=1 and c.charge_applies_to_enum=? " + " and sa.account_no = ?";
sql += addInClauseToSQL_toLimitChargesMappedToOffice_ifOfficeSpecificProductsEnabled();
return this.jdbcTemplate.query(sql, rm, new Object[] { ChargeAppliesTo.SAVINGS.getValue(), savingsAccountId });