There is no getter for property named ‘xxxx’ in ‘class java.lang.String’
<where>
<if test="xxx!=null and xxx!=''">
and e.name like concat('%',#{xxx},'%')
</if>
</where>
吧上面的原代码改成下图就好了。
<where>
<if test="_parameter!=null and _parameter!=''">
and e.name like concat('%',#{xxx},'%')
</if>
</where>