Skip to content

Commit

Permalink
fix example of offsetPage
Browse files Browse the repository at this point in the history
  • Loading branch information
S00ahKim committed Sep 30, 2024
1 parent 1bc7349 commit 73c4a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wikis/en/HowToUse.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ PageHelper.startPage(1, 10);
List<User> list = userMapper.selectIf(1);

//3. use static method offsetPage
PageHelper.offsetPage(1, 10);
PageHelper.offsetPage(0, 10);
List<User> list = userMapper.selectIf(1);

//4. method parameters
Expand Down
2 changes: 1 addition & 1 deletion wikis/zh/HowToUse.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ PageHelper.startPage(1, 10);
List<User> list = userMapper.selectIf(1);

//第三种,Mapper接口方式的调用,推荐这种使用方式。
PageHelper.offsetPage(1, 10);
PageHelper.offsetPage(0, 10);
List<User> list = userMapper.selectIf(1);

//第四种,参数方法调用
Expand Down

0 comments on commit 73c4a73

Please sign in to comment.