- Ya
- 28 Mei 2026, 23:53 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 1c9fae1
- LoanRepository: countByStatus / countByOrganizationAndStatus + Page<Loan> findByStatus(...) / **************** / **************** + **************** for collision-resistant numbering - LoanPaymentRepository: paged sweeps for AutoDebitRunJob (autodebit + retry + disbursement branches), existsByLoanIdAndKind, findByLoanIdAndStatusAndKindIn (reconciliation), countByLoanIdAndStatus - LoanStatementRepository: **************** for the reminder-scheduling daily sweep Cumulative effect: replaces 5 full-table-scan O(N) / O(N²) cron paths with indexed COUNT(*) + paged WHERE queries.