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)

相关文章:

  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2021-07-04
  • 2021-08-15
猜你喜欢
  • 2022-02-04
  • 2021-10-03
  • 2021-08-25
  • 2021-11-03
  • 2021-11-21
  • 2021-10-10
相关资源
相似解决方案