摘要: 一、引入依赖 mybatis-spring-boot-starter 二、添加配置 # mapper文件位置 mybatis.mapper-locations = classpath*:mapper/**/*.xml # 实体类或者vo类位置的包名,则在xml文件中可以直接写类名而不用写全名 myb 阅读全文
posted @ 2021-03-05 22:09 xiao_lin 阅读(67) 评论(0) 推荐(0) 编辑