mybatis报错:Type handler was null on parameter mapping or property ‘__frch_xxx_0’

Type handler was null on parameter mapping or property ‘__frch_xxx_0’mybatis报错:Type handler was null on parameter mapping or property ‘__frch_xxx_0’可知是mapper.xml写错,因为使用foreach语句时,两个foreach标签中间的参数写错了

<select id=" get" parameterType="entity" resultMap="java.util.List">
  select id, name from t 
    where 
    id in
      <foreach collection="list" item="param"  open="(" close=")" separator=",">  
            #{param.id}
      这里直接用#{id}或#{param},就会报错
      </foreach>   
</select>
上一篇:layui和bootstrap对比


下一篇:HTMLParser使用详解(3)- 通过Filter访问内容