remove read for clientid when deleting a loan
This commit is contained in:
-2
@@ -116,8 +116,6 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
|
||||
throw new LoanNotInSubmittedAndPendingApprovalStateCannotBeDeleted(loanId);
|
||||
}
|
||||
|
||||
Long clientId = loan.getClient().getId();
|
||||
|
||||
List<Note> relatedNotes = this.noteRepository.findByLoanId(loan.getId());
|
||||
this.noteRepository.deleteInBatch(relatedNotes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user