---
title: "3.6 人员组织多选"
docId: "416471219601145856"
source: "https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/repository/91f5067f-775e-48f4-93a2-ce84ca0b9c2e/doc/416471219601145856"
---
1. 对teams参数返回参数拦截口子
  
    - 标识：HRM_RESOURCE_ORG_001
    - 入参
      
      | 参数 | 类型 | 说明 |
      | --- | --- | --- |
      | params | Map | 请求参数 |
      | resultList | List | 返回信息 |
      
          - resultList参数说明
            
            | 参数 | 类型 | 说明 |
            | --- | --- | --- |
            | id | string | 人员id |
            | name | string | 名称 |
            | content | string | 显示内容 |
            | contentDesc | string | 显示内容扩展 |
            | mobile | string | 手机 |
            | email | string | 邮箱 |
    - 示例
      
      ```java
      //入参，修改入参并不会影响到埋点的原始数据
              Map<String, Object> requestParams = request.getParams();
      
              ObjectMapper objectMapper = new ObjectMapper() ;
              Map<String,Object> params = objectMapper.convertValue(
                      requestParams.get("result"), new TypeReference<Map<String, Object>>() {}
              );
      
              List<Map<String,Object>> dataList = objectMapper.convertValue(
                      params.get("resultList"), new TypeReference<List<Map<String, Object>>>() {}
              );
              Map<String,Object> sessionInfo = (Map<String,Object>) params.computeIfAbsent("sessionInfo",k->new HashMap<>()) ;
              String tenantKey = Util.null2String(HrmStreamsUtil.ofNullValueWithDefValue(sessionInfo.get("tenantKey"), HrmContextUtil.getCurrentTenantKey()));
              if(CollectionUtils.isEmpty(dataList)) return response ;
              HrmEmpBwser003ShowWkStatusCmd wkStatusCmd = I18nContextUtil.getBean(HrmEmpBwser003ShowWkStatusCmd.class);
              List<Map<String,Object>> newList = wkStatusCmd.reloadWorkstatus(dataList,tenantKey,false);
              response.setResult(ImmutableMapUtil.of("result", ImmutableMapUtil.of("dataList",newList)));
              return response ;
      ```
