mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
update docs/zh/intro/use-mybatis-native.md.
文档拼写错误 Signed-off-by: kings <963987632@qq.com>
This commit is contained in:
parent
3938f8b809
commit
2b405c6fb3
@ -66,7 +66,7 @@ QueryWrapper qw = QueryWrapper.create()
|
|||||||
.where(Account::getAge).eq(18)
|
.where(Account::getAge).eq(18)
|
||||||
.and(Account::getId).ge(0);
|
.and(Account::getId).ge(0);
|
||||||
|
|
||||||
Page<Account> accountPage = ccountMapper
|
Page<Account> accountPage = accountMapper
|
||||||
.xmlPaginate("selectByName", Page.of(1, 10), qw);
|
.xmlPaginate("selectByName", Page.of(1, 10), qw);
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ QueryWrapper qw = QueryWrapper.create()
|
|||||||
Map<String,Object> otherParams = new HashMap<>();
|
Map<String,Object> otherParams = new HashMap<>();
|
||||||
otherParams.put("otherName", "michael");
|
otherParams.put("otherName", "michael");
|
||||||
|
|
||||||
Page<Account> accountPage = ccountMapper
|
Page<Account> accountPage = accountMapper
|
||||||
.xmlPaginate("selectByName", Page.of(1, 10), qw, otherParams);
|
.xmlPaginate("selectByName", Page.of(1, 10), qw, otherParams);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user