Mybatis数据框架整合

在application .yml文件中添加Mybatis配置: mybatis: mapper-locations: classpath:mapper/*.xml //填写mapper映射路径 type-aliases-package: com.demo.demo.pojo //填写实体类路径 Mybatis-generator 中pom .xml下添加mybatis-generator必要依赖
相关文章
相关标签/搜索