//使用concat进行字符串拼接前缀% 和后缀%,实现模糊查询,会解决sqL注入的问题
like CONCAT('%',#{stockCode},'%')

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-10-25
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案