FINERACT-2326: Close opened savings account after integration test execution

This commit is contained in:
Adam Saghy
2025-10-02 20:57:25 +02:00
committed by Arnold Gálovics
parent 963f8550b8
commit 297fa8e707
26 changed files with 304 additions and 7 deletions
@@ -94,4 +94,7 @@ public interface SavingsAccountRepository extends JpaRepository<SavingsAccount,
""")
List<SavingsAccrualData> findAccrualData(@Param("tillDate") LocalDate tillDate, @Param("savingsId") Long savingsId,
@Param("status") Integer status, @Param("accountingRule") Integer accountingRule);
@Query("SELECT sa.id FROM SavingsAccount sa WHERE sa.status = :status")
List<Long> findSavingsAccountIdsByStatusId(Integer status);
}
@@ -186,4 +186,8 @@ public class SavingsAccountRepositoryWrapper {
final Integer accountingRule) {
return this.repository.findAccrualData(tillDate, savingsId, status, accountingRule);
}
public List<Long> findLoanIdsByStatusId(Integer status) {
return null;
}
}