瀏覽代碼

用户管理模糊查询

jichaobo 3 年之前
父節點
當前提交
d08d663680
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fiveep-persistence/src/main/resources/mapper/mysql/system/SysUserMapper.xml

+ 1 - 1
fiveep-persistence/src/main/resources/mapper/mysql/system/SysUserMapper.xml

@@ -60,7 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		left join sys_dept d on u.dept_id = d.dept_id
 		where u.del_flag = '0'
 		<if test="userName != null and userName != ''">
-			AND u.user_name like concat('%', #{userName}, '%')
+			AND u.user_name like binary concat('%', #{userName}, '%')
 		</if>
 		<if test="createByOne != null and createByOne != ''">
 			AND u.create_by = #{createByOne}