From d502caad139eb06678c89a281bf63dbc19adb228 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 26 六月 2025 09:54:21 +0800
Subject: [PATCH] 水肥机、墒情站、气象站历史数据、最新数据查询

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmManureHistoryMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmManureHistoryMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmManureHistoryMapper.xml
index 20cc470..c94dc1e 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmManureHistoryMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmManureHistoryMapper.xml
@@ -46,7 +46,7 @@
         AND mtb.no = #{no}
       </if>
       <if test = "name != null and name !=''">
-        AND mtb.name LIKE CONCAT('%',#{intakeNum},'%')
+        AND mtb.name LIKE CONCAT('%',#{name},'%')
       </if>
       <if test = "timeStart != null and timeStop != null">
         AND htb.dt BETWEEN #{timeStart} AND #{timeStop}
@@ -69,7 +69,7 @@
         AND mtb.no = #{no}
       </if>
       <if test = "name != null and name !=''">
-        AND mtb.name LIKE CONCAT('%',#{intakeNum},'%')
+        AND mtb.name LIKE CONCAT('%',#{name},'%')
       </if>
       <if test = "timeStart != null and timeStop != null">
         AND htb.dt BETWEEN #{timeStart} AND #{timeStop}

--
Gitblit v1.8.0