在用mybatis-plus多数据源时用mapper内置的
selectList(queryWrapper) 查询数据报org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
问题是在配置多数据源时用的是SqlSessionFactoryBean,改为MybatisSqlSessionFactoryBean即可
在用mybatis-plus多数据源时用mapper内置的
selectList(queryWrapper) 查询数据报org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
问题是在配置多数据源时用的是SqlSessionFactoryBean,改为MybatisSqlSessionFactoryBean即可