今天在改前端查詢報錯問題,報錯如下
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...
今天在改前端查詢報錯問題,報錯如下
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...