concat用来拼接查询的字符串,如下代码所示
SELECT * FROM deployment WHERE name LIKE concat(concat('%',#{queryMessage}),'%')