org.apache.ibatis.reflection.ReflectionException: There is no getter for propert

public List<Jixi> findQxrLiByHtbh(@Param("f4001htbh") String f4001htbh);
<if test="f4001htbh != null and f4001htbh != ''">
    AND qxr1.f5009htbh LIKE CONCAT(CONCAT('%', #{f4001htbh}), '%')
</if>

 如果就就一个参数,并且用到if,需要在mapper里加上@Param("f4001htbh")

猜你喜欢

转载自liguangqinlong.iteye.com/blog/2337088