浏览代码

用户管理模糊查询3

jichaobo 3 年之前
父节点
当前提交
124df8d258
共有 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

@@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 			AND u.user_name like binary concat('%', #{userName}, '%')
 		</if>
 		<if test="createByOne != null and createByOne != ''">
-			AND binary u.create_by = #{createByOne}
+			AND  u.create_by = binary #{createByOne}
 		</if>
 		<if test="status != null and status != ''">
 			AND u.status = #{status}