mybatis中mapper.xml文件中的模糊查询 like concat( ‘%’,#{XXX},’%’) sql语句: SELECT * FROM table WHERE Method LIKE CONCAT('%', #{xxx}, '%') ;