lihengming / spring-boot-api-project-seed

:seedling::rocket:一个基于Spring Boot & MyBatis的种子项目,用于快速构建中小型API、RESTful API项目~
9.6k stars 3.79k forks source link

有没有多表查询的例子?一对一,一对多查询的那种。 #197

Open JuneFire opened 5 years ago

JuneFire commented 5 years ago

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerInfoServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerInfoMapper' defined in file [D:\gitfiles\aaip-wms\SpringReposAPI\target\classes\cn\webank\rap\predata\dao\CustomerInfoMapper.class]: Invocation of init method failed; nested exception is tk.mybatis.mapper.MapperException: tk.mybatis.mapper.MapperException: java.lang.IllegalStateException: No typehandler found for property guarantyInfo 我在进行一对一查询的时候,实体类里面不能加入另一个实体类。

li-keli commented 5 years ago

你应该把你的XML放出来