Browse Source

添加总条数

tags/v2.4.0
xiaoying 1 year ago
parent
commit
5d2e3fdb6a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/ClientUserServiceImpl.java

+ 2
- 0
tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/ClientUserServiceImpl.java View File

@@ -281,6 +281,8 @@ public class ClientUserServiceImpl implements ClientUserSevice {
list.add(vo);
}
PageInfo<TenantVo> tenantVoPageInfo = new PageInfo<>(list);
//添加总条数
tenantVoPageInfo.setTotal(list.size());

return JsonResult.success(tenantVoPageInfo);
}

Loading…
Cancel
Save