update account code current,saving and RD

This commit is contained in:
Nitesh Yadav
2026-04-24 16:14:13 +05:30
parent 691a3fc471
commit efb0511725
12 changed files with 39190 additions and 27988 deletions
@@ -94,6 +94,10 @@ public final class RecurringDepositAccountData extends DepositAccountData {
private Boolean shareLinkingEnabled;
private Boolean nominationFacility;
private Boolean dormancyAlert;
private Boolean isDormancyTrackingActive;
private Integer daysToInactive;
private Integer daysToDormancy;
private Integer daysToEscheat;
private Integer interestCalculateSelector;
private String interestCalculationTypeName;
private String averagePeriod;
@@ -130,6 +134,10 @@ public final class RecurringDepositAccountData extends DepositAccountData {
this.shareLinkingEnabled = src.shareLinkingEnabled;
this.nominationFacility = src.nominationFacility;
this.dormancyAlert = src.dormancyAlert;
this.isDormancyTrackingActive = src.isDormancyTrackingActive;
this.daysToInactive = src.daysToInactive;
this.daysToDormancy = src.daysToDormancy;
this.daysToEscheat = src.daysToEscheat;
this.interestCalculateSelector = src.interestCalculateSelector;
this.interestCalculationTypeName = src.interestCalculationTypeName;
this.averagePeriod = src.averagePeriod;
@@ -158,6 +166,7 @@ public final class RecurringDepositAccountData extends DepositAccountData {
public void setCbsProductFields(String accountType, String customerSegment, String productCode,
LocalDate effectiveDate, LocalDate effectiveTo, LocalDate endDate,
Boolean introducerRequired, Boolean shareLinkingEnabled, Boolean nominationFacility, Boolean dormancyAlert,
Boolean isDormancyTrackingActive, Integer daysToInactive, Integer daysToDormancy, Integer daysToEscheat,
Integer interestCalculateSelector, String interestCalculationTypeName, String averagePeriod,
Boolean autoPost, Integer frequencyFixDay, LocalDate lastInterestDate,
Boolean enableLockinPeriod, String balanceFrequency, Boolean accountClosedZeroBalanceInDayClosing,
@@ -176,6 +185,10 @@ public final class RecurringDepositAccountData extends DepositAccountData {
this.shareLinkingEnabled = shareLinkingEnabled;
this.nominationFacility = nominationFacility;
this.dormancyAlert = dormancyAlert;
this.isDormancyTrackingActive = isDormancyTrackingActive;
this.daysToInactive = daysToInactive;
this.daysToDormancy = daysToDormancy;
this.daysToEscheat = daysToEscheat;
this.interestCalculateSelector = interestCalculateSelector;
this.interestCalculationTypeName = interestCalculationTypeName;
this.averagePeriod = averagePeriod;
@@ -291,7 +291,19 @@ public class DepositProductAssembler {
recurringDepositProduct.setIntroducerRequired(command.booleanPrimitiveValueOfParameterNamed("introducerRequired"));
recurringDepositProduct.setShareLinkingEnabled(command.booleanPrimitiveValueOfParameterNamed("shareLinkingEnabled"));
recurringDepositProduct.setNominationFacility(command.booleanPrimitiveValueOfParameterNamed("nominationFacility"));
recurringDepositProduct.setDormancyAlert(command.booleanPrimitiveValueOfParameterNamed("dormancyAlert"));
final boolean dormancyAlertValue = command.booleanPrimitiveValueOfParameterNamed("dormancyAlert");
recurringDepositProduct.setDormancyAlert(dormancyAlertValue);
// isDormancyTrackingActive is driven by dormancyAlert for RD products (no separate UI field)
recurringDepositProduct.setIsDormancyTrackingActive(dormancyAlertValue);
if (command.parameterExists("daysToInactive")) {
recurringDepositProduct.setDaysToInactive(command.longValueOfParameterNamed("daysToInactive"));
}
if (command.parameterExists("daysToDormancy")) {
recurringDepositProduct.setDaysToDormancy(command.longValueOfParameterNamed("daysToDormancy"));
}
if (command.parameterExists("daysToEscheat")) {
recurringDepositProduct.setDaysToEscheat(command.longValueOfParameterNamed("daysToEscheat"));
}
recurringDepositProduct.setInterestCalculateSelector(command.integerValueOfParameterNamed("interestCalculateSelector"));
recurringDepositProduct.setAveragePeriod(command.stringValueOfParameterNamed("averagePeriod"));
recurringDepositProduct.setAutoPost(command.booleanPrimitiveValueOfParameterNamed("autoPost"));
@@ -1296,6 +1296,11 @@ public class SavingsProduct extends AbstractPersistableCustom<Long> {
public boolean isAllowDebitTxnAfterDueDate() { return allowDebitTxnAfterDueDate; }
public void setAllowDebitTxnAfterDueDate(boolean v) { this.allowDebitTxnAfterDueDate = v; }
public void setIsDormancyTrackingActive(Boolean v) { this.isDormancyTrackingActive = v; }
public void setDaysToInactive(Long v) { this.daysToInactive = v; }
public void setDaysToDormancy(Long v) { this.daysToDormancy = v; }
public void setDaysToEscheat(Long v) { this.daysToEscheat = v; }
public SavingsProductFacilityConfig getFacilityConfig() {
return facilityConfig;
}