解决mybatis foreach 错误: Parameter '__frch_item_0' not found

在遍历对象的属性(是ArrayList对象)时报错:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter '__frch_item_0' not found. Available parameters are [1, 0, param1, param2]
解决mybatis foreach 错误: Parameter '__frch_item_0' not found
解决办法如上图所示:将#{} 替换为 '${}'
解决mybatis foreach 错误: Parameter '__frch_item_0' not found
解决mybatis foreach 错误: Parameter '__frch_item_0' not found

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2021-11-30
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-06
  • 2021-10-07
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2021-05-14
相关资源
相似解决方案