From d2c103ca1accc467a2ca4a3923da5ec64f761b48 Mon Sep 17 00:00:00 2001 From: bonus <1203338439@qq.com> Date: Wed, 15 Oct 2025 00:52:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B6=85=E6=9C=9F=E6=97=A5?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../clz/controller/ClzSltAgreementInfoController.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/clz/controller/ClzSltAgreementInfoController.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/clz/controller/ClzSltAgreementInfoController.java index 60343a15..4822639c 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/clz/controller/ClzSltAgreementInfoController.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/clz/controller/ClzSltAgreementInfoController.java @@ -480,6 +480,17 @@ public class ClzSltAgreementInfoController extends BaseController { bean.setOverDay(overdueDays-7); } + if(teamExitTime!=null && !teamExitTime.isEmpty()){ + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); + + LocalDate dateParm = LocalDate.parse(teamExitTime, formatter); + LocalDate resultDate = dateParm.plusDays(7); + bean.setOverTime(resultDate+""); + } + + + bean.setActualExitTime(teamExitTime); + BigDecimal leasePrice = bean.getLeasePrice(); BigDecimal num = bean.getNum(); // 根据班组退场时间计算租赁费用