Преглед на файлове

用户管理模糊查询

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}