From 12477079efd139b97b59668dcf3c39ab69520f37 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 27 六月 2025 14:49:11 +0800
Subject: [PATCH] 水肥机、所象站、墒情站Dto中的bug修改

---
 pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/mqtt/weather/WeatherDto.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/mqtt/weather/WeatherDto.java b/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/mqtt/weather/WeatherDto.java
index 9a142f2..1b2cf81 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/mqtt/weather/WeatherDto.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/mqtt/weather/WeatherDto.java
@@ -21,6 +21,12 @@
     public String id;
 
     /**
+     * 姘旇薄绔橣Box搴忓垪鍙�
+     */
+    @NotEmpty(message = "姘旇薄绔橣Box搴忓垪鍙�") //涓嶈兘涓虹┖涔熶笉鑳戒负null
+    public String fboxId;
+
+    /**
      * 姘旇薄绔欏悕绉�
      */
     @NotEmpty(message = "姘旇薄绔欏悕绉颁笉鑳戒负绌�") //涓嶈兘涓虹┖涔熶笉鑳戒负null
@@ -49,6 +55,7 @@
 
     public PrStWeather toNewPo(){
         PrStWeather po = new PrStWeather();
+        po.fboxId = this.fboxId;
         po.name = this.name;
         po.no = this.no;
         po.lng = this.lng;

--
Gitblit v1.8.0