Fixes for stretchy reports to ensure compatibility with MySQL 5.7
This commit is contained in:
+1
-1
@@ -1562,7 +1562,7 @@ public class LoanReadPlatformServiceImpl implements LoanReadPlatformService {
|
|||||||
@Override
|
@Override
|
||||||
public DisbursementData retrieveLoanDisbursementDetail(Long loanId, Long disbursementId) {
|
public DisbursementData retrieveLoanDisbursementDetail(Long loanId, Long disbursementId) {
|
||||||
final LoanDisbursementDetailMapper rm = new LoanDisbursementDetailMapper();
|
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 });
|
return this.jdbcTemplate.queryForObject(sql, rm, new Object[] { loanId, disbursementId });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+14
-14
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user