模糊匹配中,参数可以直接填入,也可以用$$拼接(存在注入问题),不能用# #(?不能在‘ ’之间,最好用concat方法

1
@Select("select * from emp where name like concat('%',#{name},'%')")

在resource目录创建包时需要用‘/’而不能用’.’