From 026447959141110afd24d18b61da953c62aa2209 Mon Sep 17 00:00:00 2001 From: zhubaomin <470473919@qq.com> Date: 星期三, 23 四月 2025 12:23:55 +0800 Subject: [PATCH] 各轮灌组开阀时间提前2分钟,第一组除外 --- pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java index 1ac23ad..1b3d0f2 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanSv.java @@ -205,6 +205,7 @@ // 璁$畻涓嬩竴缁勭殑寮�濮嬫椂闂� LocalDateTime LocalscheduleStartTime = scheduleStartTime.toInstant().atZone(ZoneId.systemDefault()) .toLocalDateTime(); LocalscheduleStartTime = LocalscheduleStartTime.plusMinutes(schedule.getDuration()); + LocalscheduleStartTime = LocalscheduleStartTime.minusMinutes(2); scheduleStartTime = Date.from(LocalscheduleStartTime.atZone(ZoneId.systemDefault()).toInstant()); } -- Gitblit v1.8.0