模糊查询sql语句

@Select("select * from user where name like concat ('%',#{name},'%')")
public List<User> findByKeyWords(String keyWords);

  

posted @ 2019-09-03 09:45  躺床上看天dzl  阅读(155)  评论(0编辑  收藏  举报