From 7efbf921192559cad13a4f8086c46c3617ad2a05 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 31 十月 2024 08:34:42 +0800
Subject: [PATCH] 1、协议解析中,关阀报(83)中的RTU时钟改为关阀时间,但代码误注解掉了这行代码,修改之; 2、通信中间件测试web系统增加查询所在在线情况的命令下发。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-irrigate/src/main/java/com/dy/pipIrrIrrigate/crop/CropSv.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-irrigate/src/main/java/com/dy/pipIrrIrrigate/crop/CropSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-irrigate/src/main/java/com/dy/pipIrrIrrigate/crop/CropSv.java
index 7c3ac67..820d557 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-irrigate/src/main/java/com/dy/pipIrrIrrigate/crop/CropSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-irrigate/src/main/java/com/dy/pipIrrIrrigate/crop/CropSv.java
@@ -5,6 +5,8 @@
 
 import com.dy.pipIrrGlobal.pojoIr.IrCrop;
 import com.dy.pipIrrGlobal.voIr.VoCrop;
+import com.dy.pipIrrGlobal.voIr.VoCropOne;
+import com.dy.pipIrrGlobal.voIr.VoProjectOne;
 import com.dy.pipIrrIrrigate.crop.QueryVo;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.dubbo.common.utils.PojoUtils;
@@ -84,4 +86,14 @@
         rsVo.obj = irCropMapper.getCrops(params);
         return rsVo;
     }
+
+    /**
+     * 鑾峰彇涓�涓綔鐗╂暟鎹�
+     * @param id
+     * @return
+     */
+    public VoCropOne selectById(Long id){
+        VoCropOne irCrop = irCropMapper.selectById(id);
+        return irCrop;
+    }
 }

--
Gitblit v1.8.0