Skip to content

Commit

Permalink
Merge pull request ltsopensource#367 from lusong1986/feature/nodegrou…
Browse files Browse the repository at this point in the history
…p_paginationbug

解决getNodeGroup不能分页的bug
  • Loading branch information
qq254963746 authored Jul 29, 2017
2 parents 14e9c9c + 2f7da11 commit acfc383
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,8 @@ public RestfulResponse reSubscribe() {
}

@RequestMapping("node-group-get")
public RestfulResponse getNodeGroup(NodeGroupRequest request) {
public RestfulResponse getNodeGroup(NodeGroupGetReq nodeGroupGetReq) {
RestfulResponse response = new RestfulResponse();
NodeGroupGetReq nodeGroupGetReq = new NodeGroupGetReq();
nodeGroupGetReq.setNodeGroup(request.getNodeGroup());
nodeGroupGetReq.setNodeType(request.getNodeType());
PaginationRsp<NodeGroupPo> paginationRsp = appContext.getNodeGroupStore().getNodeGroup(nodeGroupGetReq);

response.setResults(paginationRsp.getResults());
Expand Down

0 comments on commit acfc383

Please sign in to comment.