Young87

SmartCat's Blog

So happy to code my life!

游戏开发交流QQ群号60398951

当前位置:首页 >跨站数据

Mybatis-plus中mapper.xml文件 模糊查询写法

Mybatis-plus中mapper.xml中模糊查询写法

select * from t_user_info a where a.telephone like concat('%',#{phoneMumber},'%')

匹配手机号码前4位为"1368"的手机号码

select * from t_user_info a where a.telephone like concat('1368','%')

匹配手机号码前几位为phoneMumber的手机号码

select * from t_user_info a where a.telephone like concat(#{phoneMumber},'%')

除特别声明,本站所有文章均为原创,如需转载请以超级链接形式注明出处:SmartCat's Blog

上一篇: vs2017\vs2019 VGG16处理cifar-10数据集的PyTorch实现

下一篇: 技术分享:局部埋子板PCB的工艺优化研究

精华推荐