maven web项目 findAll(pake, size)分页查询方法
findAll(int page, int size) 这个方法是将查询到的所有数据的字段
在页面上进行分页显示
这里会 使用到 分页插件
com.github.pagehelper.PageInterceptor
这个插件要在 mybatis核心文件中进行配置
<!--配置分页插件 plugins标签有出现顺序要求,
必须在environments之前,
同时要在properties和typeAliases之后-->
<plugins>
<plugin interceptor="com.github.pagehelper.PageInterceptor">
<property name="helperDialect" value="mysql"/>
<property name