Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] consumer列表支持按status和member数量排序(#875) #1229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading