Skip to content

Commit

Permalink
[Feature] consumer列表支持按status和member数量排序(#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangmb committed May 27, 2024
1 parent fcf0a08 commit c06939e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public PaginationResult<GroupOverviewVO> pagingClusterGroupsOverview(Long cluste
}

// 分页 后 返回
return PaginationUtil.pageBySubData(voList, dto);
return PaginationUtil.pageBySubData( PaginationUtil.pageBySort(voList, dto.getSortField(), dto.getSortType(),"memberCount", dto.getSortType()), dto);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.xiaojukeji.know.streaming.km.common.bean.dto.cluster;

import com.xiaojukeji.know.streaming.km.common.bean.dto.pagination.PaginationBaseDTO;
import com.xiaojukeji.know.streaming.km.common.bean.dto.pagination.PaginationSortDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

Expand All @@ -9,7 +9,7 @@
* @date 2022/10/17
*/
@Data
public class ClusterGroupSummaryDTO extends PaginationBaseDTO {
public class ClusterGroupSummaryDTO extends PaginationSortDTO {
@ApiModelProperty("查找该Topic")
private String searchTopicName;

Expand Down

0 comments on commit c06939e

Please sign in to comment.