<!--List<User> getUserByLike(@Param("username") String username);--><selectid="getUserByLike"resultType="User"><!--select * from t_user where username like '%${username}%'--><!--select * from t_user where username like concat('%',#{username},'%')-->
select * from t_user where username like "%"#{username}"%"
</select>