Browse Source

修改昵称查询bug

dev-complex-computation
chenzhihang 1 year ago
parent
commit
3426e3d59e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml

+ 3
- 0
ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml View File

@@ -99,6 +99,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>


Loading…
Cancel
Save