Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sondertara authored Dec 1, 2021
1 parent 6e10503 commit 3e5bca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,15 +391,15 @@ public class PageQueryParam extends JoyaQuery implements Serializable {

使用Joya查询方法有如下两种:

-分页查询(指定join字段)
- 分页查询(指定join字段)

```java
PageQueryParam pageQueryParam=JSON.parseObject(jsonString,PageQueryParam.class);

PageResult<UserDTO> pageResult=joyaRepository.queryPage(pageQueryParam,UserDTO.class,j->j.join(UserPo::getId,UserExtendPo::getUserId));
```

-分页查询(指定where语句中的联接字段)
- 分页查询(指定where语句中的联接字段)

```java
PageQueryParam pageQueryParam1=JSON.parseObject("",PageQueryParam.class);
Expand Down

0 comments on commit 3e5bca2

Please sign in to comment.