From c04f2d4a58bd72449b2212ed2f8b0c3ac9ec96be Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Tue, 12 Aug 2025 11:04:16 +0800
Subject: [PATCH] 修改
---
hazmat-system/src/main/resources/mapper/system/SysUserMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hazmat-system/src/main/resources/mapper/system/SysUserMapper.xml b/hazmat-system/src/main/resources/mapper/system/SysUserMapper.xml
index fd1c267..60f0ced 100644
--- a/hazmat-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/hazmat-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -50,6 +50,9 @@
<if test="username != null and username != ''">
AND u.username like concat('%', #{username}, '%')
</if>
+ <if test="name!=null and name!=''">
+ and u.name like concat('%',#{name},'%')
+ </if>
<if test="status != null and status != ''">
AND u.status = #{status}
</if>
--
Gitblit v1.9.2