From 5e765b7358c0a1f91b30acf48d442c08073fdbed Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 30 九月 2025 16:06:58 +0800
Subject: [PATCH] 优化数据源配置

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voMd/VoCrops.java |  124 +++++++++++++++++++++++++++++++++--------
 1 files changed, 100 insertions(+), 24 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voMd/VoCrops.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voMd/VoCrops.java
index 6631459..4eb11a1 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voMd/VoCrops.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voMd/VoCrops.java
@@ -16,7 +16,15 @@
  */
 
 @Data
-@JsonPropertyOrder({"id", "name", "startDt", "endDt", "stopped", "isStopped", "remarks", "createDt"})
+@JsonPropertyOrder({"id", "weatherId",
+        "name", "startDt", "endDt",
+        "life1Start", "life1End", "life1Factor",
+        "life2Start", "life2End", "life2Factor",
+        "life3Start", "life3End", "life3Factor",
+        "life4Start", "life4End", "life4Factor",
+        "stopped", "remarks", "createDt",
+        "lifeLen", "lifeCur", "lifeFactor", "stoppedStr"
+})
 public class VoCrops implements Serializable {
 
     public static final long serialVersionUID = 202508061124001L;
@@ -26,6 +34,11 @@
      */
     @JSONField(serializeUsing= ObjectWriterImplToString.class)
     public Long id;
+    /**
+     * 鎸囧悜姘旇薄绔欏閿�
+     */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
+    public Long weatherId;
 
     /**
      * 浣滅墿鍚嶇О
@@ -45,14 +58,70 @@
     public String endDt;
 
     /**
-     * 鏄惁鍋滄璁$畻锛�1鏄紝0鍚�
+     * 鐢熼暱鍒濇湡寮�濮嬪ぉ鏁帮紙榛樿鏄�1锛�
      */
-    public Byte stopped;
+    public Integer life1Start;
+
+    /**
+     * 鐢熼暱鍒濇湡缁撴潫澶╂暟
+     */
+    public Integer life1End;
+
+    /**
+     * 鐢熼暱鍒濇湡浣滅墿绯绘暟
+     */
+    public Double life1Factor ;
+
+    /**
+     * 蹇�熺敓闀挎湡寮�濮嬪ぉ鏁帮紙榛樿鐢熼暱鍒濇湡缁撴潫澶╂暟+1锛�
+     */
+    public Integer life2Start;
+
+    /**
+     * 蹇�熺敓闀挎湡缁撴潫澶╂暟
+     */
+    public Integer life2End;
+
+    /**
+     * 蹇�熺敓闀挎湡浣滅墿绯绘暟
+     */
+    public Double life2Factor ;
+
+    /**
+     * 鐢熼暱涓湡寮�濮嬪ぉ鏁帮紙榛樿蹇�熺敓闀挎湡缁撴潫澶╂暟+1锛�
+     */
+    public Integer life3Start;
+
+    /**
+     * 鐢熼暱涓湡缁撴潫澶╂暟
+     */
+    public Integer life3End;
+
+    /**
+     * 鐢熼暱涓湡浣滅墿绯绘暟
+     */
+    public Double life3Factor ;
+
+    /**
+     * 鐢熼暱鏈湡寮�濮嬪ぉ鏁帮紙榛樿鐢熼暱涓湡缁撴潫澶╂暟+1锛�
+     */
+    public Integer life4Start;
+
+    /**
+     * 鐢熼暱鏈湡缁撴潫澶╂暟
+     */
+    public Integer life4End;
+
+    /**
+     * 鐢熼暱鏈湡浣滅墿绯绘暟
+     */
+    public Double life4Factor ;
+
 
     /**
      * 鏄惁鍋滄璁$畻锛�1鏄紝0鍚�
      */
-    public String isStopped;
+    public Byte stopped;
 
     /**
      * 澶囨敞
@@ -65,26 +134,33 @@
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     public Date createDt;
 
-    public String isStopped() {
-        if (this.stopped != null) {
-            if(this.stopped == 0){
-                return "鍚�";
-            }else{
-                return "鏄�";
-            }
-        }
-        return "" ;
-    }
+    /**
+     * 宸茬粡鐢熸垚鏃堕暱锛堝ぉ锛�
+     */
+    public Integer lifeLen;
+     /**
+     * 褰撳墠鐢熼暱闃舵
+     */
+    public String lifeCur ;
+    /**
+     * 瀵瑰簲浣滅墿鐢熼暱闃舵鐨勭郴鏁�
+     */
+    public Double lifeFactor ;
+    /**
+     * 鏄惁鍋滄璁$畻锛�1鏄紝0鍚�
+     */
+    public String stoppedStr;
+    /**
+     * 宸茬粡鐢熸垚鏃堕暱锛堝ぉ锛�
+     */
+    public String lifeLenStr;
 
-    public String getIsStopped() {
-        if (this.stopped != null) {
-            if(this.stopped == 0){
-                return "鍚�";
-            }else{
-                return "鏄�";
-            }
-        }
-        return "" ;
-    }
+    /**
+     * 瀵瑰簲浣滅墿鐢熼暱闃舵鐨勭郴鏁�
+     */
+    public String lifeFactorStr ;
+
+    //鍏宠仈姘旇薄绔欏悕绉�
+    public String weatherName ;
 
 }

--
Gitblit v1.8.0