From ff55f15de19cb5bf02fa4d2313f4882ef9b3a452 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 30 四月 2025 10:47:34 +0800
Subject: [PATCH] 表阀一体机上报心跳数据最小间隔经常改动,时常不通知软件开发人员,所以通信中间件根据最小上报数据间隔会切断设备网络连接,为此改变中间件配置,最小心跳间隔改为在properties文件中配置。
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml
index 5da8e78..da5e8f4 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml
@@ -84,7 +84,8 @@
<select id="getCrops" resultType="com.dy.pipIrrGlobal.voIr.VoCrop">
SELECT
CAST(cro.id AS char)AS id,
- cro.crop_name AS cropName
+ cro.crop_name AS cropName,
+ cro.remarks
FROM ir_crop cro
<where>
cro.deleted = 0
@@ -96,4 +97,14 @@
LIMIT ${(pageCurr-1)*pageSize}, ${pageSize}
</if>
</select>
+
+ <select id="selectById" resultType="com.dy.pipIrrGlobal.voIr.VoCropOne">
+ select
+ CAST(cro.id AS char)AS id,
+ cro.crop_name AS cropName,
+ cro.remarks
+ from ir_crop cro
+ where cro.id = #{id,jdbcType=BIGINT} and cro.deleted = 0
+
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0