mybatis 实现查询商品列表的分页

一、首先在 mybatis 的配置文件 sqlMapConfig.xml 文件里面添加分页插件:html <!-- 配置分页插件 --> <plugins> <plugin interceptor="com.github.pagehelper.PageInterceptor"> <!-- 设置数据库类型 Oracle,Mysql,MariaDB,SQLite,Hsqldb,Postgr
相关文章
相关标签/搜索