报错信息 There is no getter for property named 'et' in ''
在实体类里没有 et 属性,确报了 et 不存在 get 方法。
原因:
重写了BaseMapper 里的方法
如:
int updateById(@Param(Constants.ENTITY) M entity);
int update(@Param(Constants.ENTITY) T entity, @Param(Constants.WRAPPER) Wrapper<T> updateWrapper);
需要在重写的方法参数前加上 @Param(Constants.ENTITY) 即可。
同理,如果不存在 ew 一样的处理。