| 程序包 | 说明 |
|---|---|
| com.lark.oapi.service.corehr.v2.model |
| 限定符和类型 | 方法和说明 |
|---|---|
JobData.Builder |
JobData.Builder.assignmentStartReason(Enum assignmentStartReason)
业务类型(原任职原因)
示例值:onboarding
|
JobData.Builder |
JobData.Builder.compensationType(Enum compensationType)
薪资类型
示例值:
|
JobData.Builder |
JobData.Builder.costCenterRates(JobDataCostCenter[] costCenterRates)
成本中心分摊信息
示例值:
|
JobData.Builder |
JobData.Builder.createdAt(String createdAt)
创建时间,格式:2020-05-02 00:00:00
示例值:2020-05-02 00:00:00
|
JobData.Builder |
JobData.Builder.customFields(CustomFieldData[] customFields)
自定义字段
示例值:
|
JobData.Builder |
JobData.Builder.departmentId(String departmentId)
部门
ID,可通过[【批量查询部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get)接口查询详细信息;-
与 department_id_type 类型一致
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.directManager(BasicJobData directManager)
直属上级
示例值:
|
JobData.Builder |
JobData.Builder.dottedLineManagers(BasicJobData[] dottedLineManagers)
虚线上级
示例值:
|
JobData.Builder |
JobData.Builder.effectiveTime(String effectiveTime)
生效时间
示例值:2020-05-01 00:00:00
|
JobData.Builder |
JobData.Builder.employeeSubtypeId(String employeeSubtypeId)
人员子类型 ID;- 功能灰度中,如有需求请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)
示例值:6890452208593372680
|
JobData.Builder |
JobData.Builder.employeeTypeId(String employeeTypeId)
人员类型
ID,可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.employmentId(String employmentId)
雇佣
ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;-
与 user_id_type 类型一致
示例值:6893014062142064135
|
JobData.Builder |
JobData.Builder.expirationTime(String expirationTime)
失效时间
示例值:2020-05-02 00:00:00
|
JobData.Builder |
JobData.Builder.jobDataId(String jobDataId)
任职信息 ID
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.jobDataReason(Enum jobDataReason)
任职原因;-
可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:;
- object_api_name = "job_data"; - custom_api_name = "job_data_reason"
示例值:
|
JobData.Builder |
JobData.Builder.jobFamilyId(String jobFamilyId)
序列
ID,可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息
示例值:1245678
|
JobData.Builder |
JobData.Builder.jobGradeId(String jobGradeId)
职等
ID,可通过[【查询职等】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.jobId(String jobId)
职务
ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息;
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.jobLevelId(String jobLevelId)
职级
ID,可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息
示例值:6890452208593372679
|
static JobData.Builder |
JobData.newBuilder() |
JobData.Builder |
JobData.Builder.pathwayId(String pathwayId)
通道 ID
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.positionId(String positionId)
岗位 ID;- 功能灰度中,如有需求请联系[技术支持](https://applink.feishu.cn/TLJpeNdW);
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.primaryJobData(Boolean primaryJobData)
是否为主任职;- true:主职;- false:兼职,建议使用兼职相关接口
示例值:true
|
JobData.Builder |
JobData.Builder.probationEndDate(String probationEndDate)
试用期结束日期(实际结束日期)
示例值:2019-05-24T00:00:00.000Z
|
JobData.Builder |
JobData.Builder.probationExpectedEndDate(String probationExpectedEndDate)
预计试用期结束日期
示例值:2006-01-02
|
JobData.Builder |
JobData.Builder.probationOutcome(Enum probationOutcome)
试用期结果,枚举值可通过文档【飞书人事枚举常量】试用期结果(probation_outcome)枚举定义部分获得
示例值:passed
|
JobData.Builder |
JobData.Builder.probationStartDate(String probationStartDate)
试用期开始日期
示例值:2018-03-16T00:00:00.000Z
|
JobData.Builder |
JobData.Builder.secondDirectManager(BasicJobData secondDirectManager)
第二实线主管
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.serviceCompany(String serviceCompany)
任职公司,枚举值及详细信息可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)接口查询获得
示例值:6890452208593372680
|
JobData.Builder |
JobData.Builder.versionId(String versionId)
任职记录版本 ID
示例值:6890452208593372697
|
JobData.Builder |
JobData.Builder.weeklyWorkingHours(Integer weeklyWorkingHours)
周工作时长
示例值:10
|
JobData.Builder |
JobData.Builder.weeklyWorkingHoursV2(Double weeklyWorkingHoursV2)
周工作时长 V2
示例值:10.1
|
JobData.Builder |
JobData.Builder.workCalendarId(String workCalendarId)
工作日历 ID
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.workingHoursTypeId(String workingHoursTypeId)
工时制度
ID,可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.workLocationId(String workLocationId)
工作地点
ID,可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
JobData.Builder.workShift(Enum workShift)
排班类型
示例值:
|
| 构造器和说明 |
|---|
JobData(JobData.Builder builder) |
Copyright © 2026. All rights reserved.