标签:
mybatis 报错There is no getter for property named ‘userSpAndSp‘ in ‘class com.uauth.beans.UserSpAndSp‘
这里userSpAndSp是我传入的参数,在where判断时
= #{userSpAndSp.enduserid,jdbcType=BIGINT}
,只要在DAO里在参数前面加上
@Param(value = "userSpAndSp")
(基本数据类型无需加上@param)
There is no getter for property named 'userSpAndSp' in 'class com.uauth.beans.UserSpAndSp'
标签:
原文地址:http://www.cnblogs.com/vinozly/p/4964158.html