Skip to content

Commit

Permalink
fix-IQueryAbility-修正query命中不到子类覆写view的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aruis committed Oct 24, 2024
1 parent 4ced332 commit b1b69af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ default PageResult view(@Parameter(description = "页码") @QueryParam("page") I
@Parameter(description = "是否分页") @QueryParam("noPage") Boolean noPage,
@Parameter(description = "排序", example = "t_create,desc") @QueryParam("sort") List<String> sort,
@RequestBody(description = "查询条件信息") Map<String, Object> queryBody) {
return ISelectAbility.super.view(page, size, noPage, sort, queryBody, queryItemList());
return this.view(page, size, noPage, sort, queryBody, queryItemList());
}

default PageResult query(Map<String, Object> queryBody) {
return ISelectAbility.super.view(null, null, true, null, queryBody, queryItemList());
return this.view(null, null, true, null, queryBody, queryItemList());
}

}

0 comments on commit b1b69af

Please sign in to comment.