关于Mybatis-plus报错Invalid bound statement (not found):com.xxx.xxx.xxxMapper.selectList

关于Mybatis-plus报错Invalid bound statement (not found):com.xxx.xxx.xxxMapper.selectList

关于Mybatis-plus报错Invalid bound statement (not found):com.xxx.xxx.xxxMapper.selectList
出现这个报错有可能是在写自己的UserMapper时继承了BaseMapper 但没有添加泛型。

@Mapper
public interface UserMapper extends BaseMapper {

}

只需要添加对应的泛型

@Mapper
public interface UserMapper extends BaseMapper<User> {

}

结果就不会报错了

关于Mybatis-plus报错Invalid bound statement (not found):com.xxx.xxx.xxxMapper.selectList

-HELLO-WORLD-

上一篇:凸优化计算实例CVX:Bound-constrained least squares


下一篇:分支界定法(branch and bound)与背包问题的代码实现