方法的参数Wrapper
可以跟LambdaQueryWrapper,例如:remove(new LambdaQueryWrapper().eq(User::getName, “Tony”));
不能跟LambdaQueryChainWrapper,例如:remove(lambdaQuery().eq(User::getName, “Tony”)),否则报错:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'ew.entity != null'. Cause: org.apache.ibatis.ognl.OgnlException: entity [com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: can not use this method for "getEntity"]