| 程序包 | 说明 |
|---|---|
| com.lark.oapi.service.corehr.v2.model |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.Builder.assignmentStartReasons(String[] assignmentStartReasons)
业务类型(原:任职原因);-
可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:;
- object_api_name:job_data; - custom_api_name:assignment_start_reason
示例值:
|
QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.Builder.dataDate(String dataDate)
查看数据日期;- 与时间范围筛选为 AND 关系;- 默认为当天
示例值:2020-01-01
|
QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.Builder.departmentId(String departmentId)
员工当前所在的部门 ID;- 类型应与 department_id_type 一致
示例值:6891251722631890445
|
QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.Builder.effectiveDateEnd(String effectiveDateEnd)
生效日期 - 搜索范围结束;- 默认为空
示例值:2020-01-01
|
QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.Builder.effectiveDateStart(String effectiveDateStart)
生效日期 - 搜索范围开始;- 默认为空
示例值:2020-01-01
|
QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.Builder.employmentIds(String[] employmentIds)
员工雇佣 ID 列表;- 类型应与 user_id_type 一致
示例值:
|
QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.Builder.getAllVersion(Boolean getAllVersion)
是否获取所有版本的任职记录;- true 为获取员工所有版本的任职记录;- false 为仅获取当前生效的任职记录;- 默认为 false
示例值:false
|
static QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.newBuilder() |
QueryEmployeesJobDataReqBody.Builder |
QueryEmployeesJobDataReqBody.Builder.primaryJobData(Boolean primaryJobData)
是否仅查询主职;- true:仅返回 primary_job_data 为 true 的任职记录;- false:仅返回 primary_job_data 为 false 的任职记录;-
不传:返回全部
示例值:true
|
| 构造器和说明 |
|---|
QueryEmployeesJobDataReqBody(QueryEmployeesJobDataReqBody.Builder builder) |
Copyright © 2026. All rights reserved.