Fixes for stretchy reports to ensure compatibility with MySQL 5.7

This commit is contained in:
conradsp
2018-03-29 15:23:22 -05:00
parent 9688f38ed3
commit dfabdcc71e
3 changed files with 29 additions and 29 deletions
@@ -1562,7 +1562,7 @@ public class LoanReadPlatformServiceImpl implements LoanReadPlatformService {
@Override
public DisbursementData retrieveLoanDisbursementDetail(Long loanId, Long disbursementId) {
final LoanDisbursementDetailMapper rm = new LoanDisbursementDetailMapper();
final String sql = "select " + rm.schema() + " where dd.loan_id=? and dd.id=?";
final String sql = "select " + rm.schema() + " where dd.loan_id=? and dd.id=? group by dd.id, lc.amount_waived_derived";
return this.jdbcTemplate.queryForObject(sql, rm, new Object[] { loanId, disbursementId });
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long