fix: 分期问题自测修复。

This commit is contained in:
tianyongbao
2024-08-13 18:00:39 +08:00
parent be6864c2cd
commit 2784de6fc9

View File

@@ -202,7 +202,10 @@ public class InstallmentHistoryServiceImpl implements IInstallmentHistoryService
installmentHistory.setCloseDate(calendarStart.getTime()); installmentHistory.setCloseDate(calendarStart.getTime());
} }
} }
//如果结清状态为已结清,关闭日期加入
if(installmentHistory.getState().equals("1")){
installmentHistory.setCloseDate(calendarStart.getTime());
}
//更新利率信息 //更新利率信息
updateInterestRate(installmentHistory); updateInterestRate(installmentHistory);
} }