Commit f29a3017 authored by 何伟's avatar 何伟 Committed by GitHub

Update README.md

parent 3e1c68a5
...@@ -96,7 +96,8 @@ public interface TbMapper { ...@@ -96,7 +96,8 @@ public interface TbMapper {
``` ```
### 2. MySQL分页插件 ### 2. MySQL分页插件
对应表Example类增加了Mysql分页方法,limit(Integer rows)、limit(Integer offset, Integer rows)和page(Integer page, Integer pageSize) 对应表Example类增加了Mysql分页方法,limit(Integer rows)、limit(Integer offset, Integer rows)和page(Integer page, Integer pageSize)
>warning:分页从0开始,目前网上流行的大多数前端框架分页都是从0开始,插件保持这种方式; >warning:分页从0开始,目前网上流行的大多数前端框架分页都是从0开始,插件保持这种方式;
插件: 插件:
```xml ```xml
<!-- MySQL分页插件 --> <!-- MySQL分页插件 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment