整合Mybatis+generator

在application.yml文件中添加Mybatis配置: mybatis:   mapper-locations: classpath:mapper/*.xml  #注意:一定要对应mapper映射xml文件的所在路径   type-aliases-package: com.example.myspringbootdemo.pojo  # 注意:对应实体类的路径 在pom.xml中添加 my
相关文章
相关标签/搜索