//模糊查询(根据姓名和登记日期模糊查询所有数据)
@Select({"select * from putong_rencai where concat(name,dengji_time) like '%' || 'search_name' || '%' "})
public List<PuTongUser> selectMohu(@Param("search_name") String search_name);
spring boot中使用注解实现模糊查询
猜你喜欢
转载自blog.csdn.net/qq_37164847/article/details/81146198
今日推荐
周排行