摘要: mapper-locations: "classpath*:mybatis/mappers/**/*Mapper.xml" 阅读全文
posted @ 2019-12-19 16:10 1192371135 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 1 加入依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.10</version> </dependency>2、配置分页插件 impor 阅读全文
posted @ 2019-12-19 16:07 1192371135 阅读(5020) 评论(0) 推荐(0) 编辑
摘要: 在application.properties中如做下调用: ## Mybatis mybatis.config-location=classpath:mybatis/mybatis-config.xmlmybatis.mapper-locations=classpath:mybatis/mappe 阅读全文
posted @ 2019-12-19 16:04 1192371135 阅读(5011) 评论(0) 推荐(0) 编辑