Unable to locate Attribute  with the the given name

今天在改前端查询报错问题,报错如下

java.lang.IllegalArgumentException: Unable to locate Attribute  with the the given name [companyId] on this ManagedType [com.yonyou.ocm.common.entity.BaseEntity]

传参的属性名必须和entity一致,区分大小写,修改如下:

测试成功

To be continued...

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章