---
title: "1. 批量获取工作状态"
docId: "228025484359761920"
source: "https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/repository/91f5067f-775e-48f4-93a2-ce84ca0b9c2e/doc/228025484359761920"
---
批量获取工作状态

- 地址
  
  /api/{module}/common/listMsgBatch
  
  > 备注 module 是自己模块标识
- 请求方式

      content-Type: application/json

- 请求参数
  
  | 参数 | 类型 | 说明 |
  | --- | --- | --- |
  | empIds | List | 人员id列表 |
  |  |  |  |
- 返回说明
  
  | 参数 | 类型 | 说明 |
  | --- | --- | --- |
  | status | boolean | true 成功 |
  | data | Map<Long,HrmComHrmWorkConditionVO> | 数据；key 是人员id; value是工作状态 |
  |  |  |  |
- HrmComHrmWorkConditionVO说明
  
  | 参数 | 类型 | 说明 |
  | --- | --- | --- |
  | emo | string | emjo字符串，与组件对接图标 |
  | contents | string | 状态内容 |
  | tenantKey | 租户 | 租户信息 |
- 返回示例
  
  ```json
  {
      "code": 200,
      "msg": "接口返回成功",
      "status": true,
      "data": {
          "1016545628734570501": {
              "id": "1808083089436741634",
              "createTime": 1719915576000,
              "updateTime": 1719915576000,
              "creator": "1016545628734570501",
              "deleteType": 0,
              "tenantKey": "tmny3dq28t",
              "emo": "leave_status",
              "contents": "离开",
              "empId": "1016545628734570501"
          },
          "1016685790574985218": {
              "tenantKey": "tmny3dq28t",
              "empId": "1016685790574985218"
          }
      },
      "fail": false
  }·
  ```
