2020
10-10
10-10
使用Mybatis的PageHelper分页工具的教程详解
1、导入相关的jar包在pom.xm中加入<!--https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper--><dependency><groupId>com.github.pagehelper</groupId><artifactId>pagehelper</artifactId><version>5.1.10</version></dependency>2、在Mybatis的配置文件mybatis-config.xml中加入以下代码<plugins><!--com.github.pagehelper为PageHelper类所在包名--><plugininterceptor="com.github...
继续阅读 >