From aa36d81e83b27c52d126af07a186bf8a9cc9a4f6 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 26 六月 2025 14:36:55 +0800
Subject: [PATCH] 1、增加墒情日数据查询功能; 2、完善代码。

---
 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