mybatis 错误 Type handler was null on parameter mapping for property ‘__frch_item_0’. It was either not specified andor could not be found for the javaType jdbcType

mybatis foreach 用法

多半是 mybatis <foreach > 标签错误

 

详细sql  ↓↓↓

 <br/>

update t_bas_equipment_type set isUsed =0
where pk_id in
<foreach collection="list" item="ids" separator="," open="(" close=")">
    #{ids}
</foreach>

 




list => 为入参 param value
item =》 为遍历的每一项

2020-07-01
posted @ 2020-07-01 11:18  浅尝辄止夏  阅读(9039)  评论(0编辑  收藏  举报