本文共 477 字,大约阅读时间需要 1 分钟。
select * from t_user where user_name like CONCAT('%',#{search_name},'%') select * from t_user where user_name like '%'||#{search_name}||'%' select * from t_user where user_name like CONCAT('%',#{search_name},'%') select * from t_user where user_name like '%'+#{search_name}+'%' select * from t_user where user_name like CONCAT('%',#{search_name},'%') select * from t_user where user_name like '%'||#{search_name}||'%'
版权声明:本文博客原创文章,博客,未经同意,不得转载。