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(); // 根据班组退场时间计算租赁费用