src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -56,6 +56,9 @@ <if test="user.realName!=null and user.realName != ''"> and real_name like concat(concat('%', #{user.realName}),'%') </if> <if test="user.deptId!=null and user.deptId != ''"> and dept_id like concat(concat('%', #{user.deptId}),'%') </if> <if test="user.userType!=null and user.userType != ''"> and user_type = #{user.userType} </if>