Mybatis There is no getter for property named 'xxxx' in 'class java.lang.String'
程序员文章站
2022-07-15 13:45:54
...
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>
上一篇: There is no getter for property named 'xxx' in 'class java.lang.xxxx'解决办法
下一篇: There is no getter for property named 'xxx' in 'class com.ams.ams.entity.xxx'
推荐阅读
-
There is no getter for property named ‘name‘ in ‘class java.lang.String‘
-
There is no getter for property named ‘name‘ in ‘class java.lang.String
-
Mybatis报错:There is no getter for property named ‘xxxx‘ in ‘class xxxx
-
Mybatis报错:There is no getter for property named 'xxxx' in 'class xxxx
-
Mybatis报错:There is no getter for property named ‘xxxx‘ in ‘class xxxx
-
Mybatis报错:There is no getter for property named ‘xxxx‘ in ‘class xxxx
-
There is no getter for property named 'xxx' in 'class java.lang.xxxx'解决办法
-
Mybatis There is no getter for property named 'xxxx' in 'class java.lang.String'
-
There is no getter for property named 'xxx' in 'class com.ams.ams.entity.xxx'
-
Mybatis There is no getter for property named 'XXX' in 'class java.lang.XXX