From 93860049875e89890c32d22732329a6985dad898 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 28 三月 2025 17:06:08 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV

---
 pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java
index f18a14b..e60cbae 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigatePlan/IrrigatePlanCtrl.java
@@ -60,6 +60,7 @@
             return BaseResponseUtils.buildErrorMsg(Objects.requireNonNull(bindingResult.getFieldError()).getDefaultMessage());
         }
 
+        Long projectId = planAndSchedule.getProjectId();
         Long operatorId = planAndSchedule.getOperatorId();
         Byte startupMode = planAndSchedule.getStartupMode();
         Date planStartTime = planAndSchedule.getPlanStartTime();;
@@ -94,6 +95,7 @@
         //planStopTime = Date.from(stopTime.atZone(ZoneId.systemDefault()).toInstant());
 
         IrIrrigatePlan plan = new IrIrrigatePlan();
+        plan.setProjectId(projectId);
         plan.setPlanName(planAndSchedule.getPlanName());
         plan.setStartupMode(startupMode);
         plan.setPlanStartTime(planStartTime);

--
Gitblit v1.8.0