---
title: "外部联系人-根据字段获取数据"
docId: "293680848698343424"
source: "https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/repository/91f5067f-775e-48f4-93a2-ce84ca0b9c2e/doc/293680848698343424"
---
```java
com.weaver.common.hrm.remote.external.HrmRemoteExternalService#pageData
```

- 入参说明
  
  | 参数 | 类型 | 说明 |
  | --- | --- | --- |
  | condition | HrmOrgEmpCondition | 查询条件 |
  | fieldList | List<String> | 字段列表 |
  | dataConfig | HrmSyncDataConfig | 配置参数 |
  | current | int | 分页-当前页 |
  | pageSize | int | 分页-页大小 |
  
    - 查询条件（HrmOrgEmpCondition）
      
      | 参数 | 类型 | 说明 |
      | --- | --- | --- |
      | ids | List | 人员id列表 |
      | tenantKey | string | 租户key |
    - 字段列表(List<String>) : 来源【外部联系人-字段接口】
    - 配置参数（HrmSyncDataConfig）
      
      | 参数 | 类型 | 说明 |
      | --- | --- | --- |
      | optId | Long | 操作者 |
      |  |  |  |
- 出参说明（WeaResult<List<Map<String,Object>>>） 内容key与含义，看 【外部联系人-字段接口】内容说明
  
  |  |  |  |
  | --- | --- | --- |
  | id | long | 人员id |
  |  |  |  |
- 示例
  
  ```json
  -- 请求参数
  {
      	"ids":["1166912085770895360"],
        "tenantKey":"t4mvz69ph3"
      } ,["id","username","department","sec_level"],{},1,20
  
  -- 返回参数
  
  [
          {
            "subcompany": {
              "id": "9116499431096320",
              "name": "aaaa",
              "_entityType": "subcompany",
              "icon": "Icon-headquarters02",
              "tenantKey": "t4mvz69ph3",
              "type": "subcompany"
            },
            "virtualName": "外部联系人",
            "id": "1166912085770895360",
            "virtualId": "1102028418525233153",
            "department": {
              "id": "9116499700318208",
              "name": "ttt",
              "_entityType": "department",
              "icon": "Icon-department03",
              "tenantKey": "t4mvz69ph3",
              "type": "department"
            },
            "username": "测试",
          }
        ]
  ```
