Fixing ordering of Rate periods while retrieving floating rate data

This commit is contained in:
Adi Narayana Raju
2016-01-13 17:31:42 +05:30
parent b4f61c5ed0
commit 0d3338ab16
@@ -139,7 +139,7 @@ public class FloatingRatesReadPlatformServiceImpl implements
final String sql = "select "
+ ratePeriodMapper.schema()
+ " where period.is_active = 1 and period.floating_rates_id = ? "
+ " order by period.from_date desc ";
+ " order by period.from_date ";
ratePeriods = jdbcTemplate.query(sql, ratePeriodMapper,
new Object[] { id });
}