Skip to content

Commit

Permalink
FSF 23 (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMuhimbura authored Aug 6, 2024
1 parent e928290 commit 4da29c7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1570,8 +1570,10 @@ public CommandProcessingResult modifyApplication(final Long loanId, final JsonCo
} else {
additionals.update(command);
}
String deleteExtraLoans = "delete from m_loan_external_existing_loans where loan_id=?";
this.jdbcTemplate.update(deleteExtraLoans, existingLoanApplication.getId());
updateExternalLoans(command, additionals);
this.groupLoanAdditionalsRepository.save(additionals);
this.groupLoanAdditionalsRepository.saveAndFlush(additionals);
}

if (productRelatedDetail.isInterestRecalculationEnabled()) {
Expand Down

0 comments on commit 4da29c7

Please sign in to comment.