传入为 List 确定为不为空
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter '__frch_item_0' not found.
insert into
personal_tag(type, tag, create_time, open_account_id)
values
(#{item.type,jdbcType=INTEGER},
#{item.tag,jdbcType=VARCHAR},
#{item.createTme,jdbcType=TIMESTAMP},
#{item.openAccountId,jdbcType=BIGINT})
ON DUPLICATE KEY UPDATE tag=tag
代码如上....
确定传入值不为空
忘记补充,我的项目里其他地方也有批量插入的代码 , 类似于这个 全部都是正确执行的
mybatis ver : 3.3.0