mybatis 實現查詢商品列表的分頁

一、首先在 mybatis 的配置文件 sqlMapConfig.xml 文件裏面添加分頁插件:html <!-- 配置分頁插件 --> <plugins> <plugin interceptor="com.github.pagehelper.PageInterceptor"> <!-- 設置數據庫類型 Oracle,Mysql,MariaDB,SQLite,Hsqldb,Postgr
相關文章
相關標籤/搜索