Mybatis uses annotations to perform fuzzy queries in spring boot
@Select ("select * from dept where dname like CONCAT ('%', # {dname}, '%') ")
public List <Dept> getDeptByLikeDname (@Param (value = " dname ") String dname);
Mybatis uses annotations to perform fuzzy queries in spring boot
@Select ("select * from dept where dname like CONCAT ('%', # {dname}, '%') ")
public List <Dept> getDeptByLikeDname (@Param (value = " dname ") String dname);