直接调用继承mybatis-plus的接口里的方法报错 ,重赏
public int update(String name,String password){
User user = new User(name,password,5,false);
if (userMapper == null){
userMapper = SpringUtil.getBean(UserMapper.class);
}
int i = this.userMapper.insert(user);
return i;
}