From 64b60d9106a289abd63463c38f08e2cb7c39a7f6 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期一, 27 五月 2024 16:35:02 +0800
Subject: [PATCH] 田间灌溉项目管理 灌溉制度模块  修改查询流浪灌溉单元和已绑定灌溉单元接口返回id类型

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

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml
index ccf499f..f99beee 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml
@@ -271,8 +271,8 @@
             AND user.supperAdmin != 1
             AND user.deleted = 0
 
-            <if test = "name != null and name !=''">
-                AND user.name like CONCAT('%',#{name},'%')
+            <if test = "userName != null and userName !=''">
+                AND user.name like CONCAT('%',#{userName},'%')
             </if>
 
             <if test = "phone != null and phone !=''">
@@ -304,8 +304,8 @@
             AND user.supperAdmin != 1
             AND user.deleted = 0
 
-            <if test = "name != null and name !=''">
-                AND user.name like CONCAT('%',#{name},'%')
+            <if test = "userName != null and userName !=''">
+                AND user.name like CONCAT('%',#{userName},'%')
             </if>
 
             <if test = "phone != null and phone !=''">

--
Gitblit v1.8.0