From ff9cc6f473de0d20ede8ced56c883d7241fe0507 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Sun, 19 Oct 2025 12:34:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B4=B7=E6=AC=BE=E8=B4=A6=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E8=BF=98=E6=AC=BE=E6=97=B6=E9=97=B4=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/InstallmentHistoryDetailServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/intc-modules/intc-invest/src/main/java/com/intc/invest/service/impl/InstallmentHistoryDetailServiceImpl.java b/intc-modules/intc-invest/src/main/java/com/intc/invest/service/impl/InstallmentHistoryDetailServiceImpl.java index 2e5229e..6c2f2fe 100644 --- a/intc-modules/intc-invest/src/main/java/com/intc/invest/service/impl/InstallmentHistoryDetailServiceImpl.java +++ b/intc-modules/intc-invest/src/main/java/com/intc/invest/service/impl/InstallmentHistoryDetailServiceImpl.java @@ -184,7 +184,9 @@ public class InstallmentHistoryDetailServiceImpl implements IInstallmentHistoryD transferRecord.setAmount(installmentHistoryDetail.getPrincipal()); transferRecord.setCommission(installmentHistoryDetail.getInterest()); transferRecord.setId(IdWorker.getId()); - transferRecord.setCreateTime(installmentHistoryDetail.getRepaymentDate()); + // 将还款日期与当前时分秒合并 + Date repaymentDateTime = DateUtils.parseDate(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, installmentHistoryDetail.getRepaymentDate()) + " " + DateUtils.parseDateToStr("HH:mm:ss", new Date())); + transferRecord.setCreateTime(repaymentDateTime); //借贷 transferRecord.setType("5"); //还款