Skip to content

Commit

Permalink
fix: 修复查询日志排序错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Sep 28, 2024
1 parent 781d291 commit 8b403f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public class LogServiceImpl implements LogService {
@Override
public PageResp<LogResp> page(LogQuery query, PageQuery pageQuery) {
QueryWrapper<LogDO> queryWrapper = this.buildQueryWrapper(query);
this.sort(queryWrapper, pageQuery);
IPage<LogResp> page = baseMapper.selectLogPage(new Page<>(pageQuery.getPage(), pageQuery
.getSize()), queryWrapper);
return PageResp.build(page);
Expand Down

0 comments on commit 8b403f4

Please sign in to comment.