在application.yml添加配置:
mybatis:
type-aliases-package: com.baidu.entity #实体类路径
mapper-locations: classpath:mapper/*.xml #配置mapper.xml的路径
在application.yml添加配置:
mybatis:
type-aliases-package: com.baidu.entity #实体类路径
mapper-locations: classpath:mapper/*.xml #配置mapper.xml的路径