参数绑定执行:

 t.TX_CODE in (?)
Object[] params = {chapters};return this.getJdbcTemplate().query(sql,params,new ProblemRowMapper());

这样是无法成功的,无论chapters='';还是使用双引号chapters="",都无法成功执行。

解决方法:

t.TX_CODE in ("+xunFeiCode+")"

 

相关文章:

  • 2022-12-23
  • 2021-08-01
  • 2021-12-04
  • 2021-05-26
  • 2021-11-02
  • 2021-08-30
  • 2021-10-28
猜你喜欢
  • 2022-01-05
  • 2021-10-27
  • 2021-06-19
  • 2021-12-07
相关资源
相似解决方案