MySQL查询语句优化:使用CONCAT函数进行模糊匹配
select * from hero where name like CONCAT('%',#{lol.name},'%') or HeroType = #{lol.HeroType} or CreateTime = #{lol.CreateTime};
原文地址: https://www.cveoy.top/t/topic/qmAn 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
select * from hero where name like CONCAT('%',#{lol.name},'%') or HeroType = #{lol.HeroType} or CreateTime = #{lol.CreateTime};
原文地址: https://www.cveoy.top/t/topic/qmAn 著作权归作者所有。请勿转载和采集!