yumeng 2 years ago
parent
commit
a7ca7e48ed
1 changed files with 3 additions and 0 deletions
  1. 3 0
      ruixuan-system/src/main/resources/mapper/system/SysUserMapper.xml

+ 3 - 0
ruixuan-system/src/main/resources/mapper/system/SysUserMapper.xml

@@ -94,6 +94,9 @@
         <if test="userName != null and userName != ''">
             AND u.user_name like concat('%', #{userName}, '%')
         </if>
+        <if test="nickName != null and nickName != ''">
+            AND u.nick_name like concat('%', #{nickName}, '%')
+        </if>
         <if test="status != null and status != ''">
             AND u.status = #{status}
         </if>