在项目中新增一张表,增加了一个实体,报:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)。
本次使用的查询方式是:
projectMapper.selectById(id);
在实体表中没有主键,导致出现
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)。
← SpringBoot整合Mybatis-plus Springboot、MyBatis-Plus 多数据源支持→