Pārlūkot izejas kodu

用户管理模糊查询3

jichaobo 3 gadi atpakaļ
vecāks
revīzija
124df8d258

+ 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}