From ccb798a4c293a914507c85d28c452d922b729298 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Tue, 13 Aug 2024 18:00:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E6=9C=9F=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E8=87=AA=E6=B5=8B=E4=BF=AE=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../invest/service/impl/InstallmentHistoryServiceImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/InstallmentHistoryServiceImpl.java b/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/InstallmentHistoryServiceImpl.java index 2467c9b..31bee93 100644 --- a/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/InstallmentHistoryServiceImpl.java +++ b/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/InstallmentHistoryServiceImpl.java @@ -202,7 +202,10 @@ public class InstallmentHistoryServiceImpl implements IInstallmentHistoryService installmentHistory.setCloseDate(calendarStart.getTime()); } } - + //如果结清状态为已结清,关闭日期加入 + if(installmentHistory.getState().equals("1")){ + installmentHistory.setCloseDate(calendarStart.getTime()); + } //更新利率信息 updateInterestRate(installmentHistory); }