You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/data/SavingsAccountTransactionData.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -245,7 +245,8 @@ public LocalDate getTransactionLocalDate() {
Copy file name to clipboardExpand all lines: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountInterestPostingServiceImpl.java
Copy file name to clipboardExpand all lines: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountReadPlatformServiceImpl.java
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -340,7 +340,7 @@ private static final class SavingAccountMapperForInterestPosting implements Resu
+ "from m_savings_account_transaction as sat where sat.is_reversed = false"
1687
+
+ "from m_savings_account_transaction as sat where sat.is_reversed = false and sat.is_reversal = false"
1688
1688
+ " and sat.transaction_type_enum in (1,2) and sat.savings_account_id = sa.id)";
1689
1689
sql.append(" and ").append(sqlGenerator.dateDiff("?", compareDate)).append(" >= sp.days_to_inactive ");
1690
1690
@@ -1708,7 +1708,7 @@ public List<Long> retrieveSavingsIdsPendingDormant(LocalDate tenantLocalDate) {
1708
1708
sql.append(" where sa.status_enum = 300 ");
1709
1709
sql.append(" and sa.sub_status_enum = 100 ");
1710
1710
sql.append(" and " + sqlGenerator.dateDiff("?",
1711
-
"(select COALESCE(max(sat.transaction_date),sa.activatedon_date) from m_savings_account_transaction as sat where sat.is_reversed = false and sat.transaction_type_enum in (1,2) and sat.savings_account_id = sa.id)")
1711
+
"(select COALESCE(max(sat.transaction_date),sa.activatedon_date) from m_savings_account_transaction as sat where sat.is_reversed = false and sat.is_reversal = false and sat.transaction_type_enum in (1,2) and sat.savings_account_id = sa.id)")
1712
1712
+ " ");
1713
1713
sql.append(" >= sp.days_to_dormancy ");
1714
1714
@@ -1732,7 +1732,7 @@ public List<Long> retrieveSavingsIdsPendingEscheat(LocalDate tenantLocalDate) {
1732
1732
sql.append(" where sa.status_enum = 300 ");
1733
1733
sql.append(" and sa.sub_status_enum = 200 ");
1734
1734
sql.append(" and " + sqlGenerator.dateDiff("?",
1735
-
"(select COALESCE(max(sat.transaction_date),sa.activatedon_date) from m_savings_account_transaction as sat where sat.is_reversed = false and sat.transaction_type_enum in (1,2) and sat.savings_account_id = sa.id)")
1735
+
"(select COALESCE(max(sat.transaction_date),sa.activatedon_date) from m_savings_account_transaction as sat where sat.is_reversed = false and sat.is_reversal = false and sat.transaction_type_enum in (1,2) and sat.savings_account_id = sa.id)")
Copy file name to clipboardExpand all lines: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsSchedularInterestPoster.java
Copy file name to clipboardExpand all lines: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsSchedularServiceImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ public void postInterestForAccounts(Map<String, String> jobParameters) throws Jo
76
76
LongmaxSavingsIdInList = 0L;
77
77
// initialise the executor service with fetched configurations
0 commit comments