public static class PositionAdjustmentInfo.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
PositionAdjustmentInfo |
build() |
PositionAdjustmentInfo.Builder |
customFields(ChangeFieldPair[] customFields)
自定义字段
示例值:
|
PositionAdjustmentInfo.Builder |
originalActive(Boolean originalActive)
原状态
示例值:true
|
PositionAdjustmentInfo.Builder |
originalCode(String originalCode)
原编码
示例值:P00000456
|
PositionAdjustmentInfo.Builder |
originalCostCenter(String originalCostCenter)
原岗位默认成本中心
ID,可以通过[【搜索成本中心信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/cost_center/search)接口获取详情
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
originalDepartment(String originalDepartment)
原所属部门
ID,可通过[【批量查询部门V2】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get)
或者[【搜索部门信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/search)
获取详情
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
originalDepartmentIdPaths(OrgdraftDepartmentId[] originalDepartmentIdPaths)
原部门全路径,从根部门开始自上而下返回部门 ID 列表, 主要用于 API 场景, 没有审批完成前获取部门路径用于计算
示例值:
|
PositionAdjustmentInfo.Builder |
originalDescriptions(I18n[] originalDescriptions)
原描述
示例值:
|
PositionAdjustmentInfo.Builder |
originalDirectLeader(String originalDirectLeader)
原直线上级(岗位)
ID,可通过[【查询岗位信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/position/query)获取详情
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
originalEmployeeTypes(String[] originalEmployeeTypes)
原人员类型 ID
列表,可通过[【查询人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
originalIsKeyPosition(Boolean originalIsKeyPosition)
原是否关键岗位
示例值:true
|
PositionAdjustmentInfo.Builder |
originalJob(String originalJob)
原职务
ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详情
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
originalJobFamilies(String[] originalJobFamilies)
原序列 ID
列表,可通过[【批量查询序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/list)获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
originalJobGrades(String[] originalJobGrades)
原职等 ID
列表,可通过[【查询职等信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
originalJobLevels(String[] originalJobLevels)
原职级 ID 列表,可通过[【通过职级 ID
批量获取职级信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_level/batch_get)获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
originalNames(I18n[] originalNames)
原名称
示例值:
|
PositionAdjustmentInfo.Builder |
originalWorkingHoursType(String originalWorkingHoursType)
原工时制度
ID,枚举值及详细信息可通过[【批量查询工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/list)接口查询获得
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
originalWorkLocations(String[] originalWorkLocations)
原工作地点 ID 列表,可通过[【通过地点 ID
批量获取地点信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/location/batch_get)接口获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
targetActive(Boolean targetActive)
调整后状态
示例值:true
|
PositionAdjustmentInfo.Builder |
targetCode(String targetCode)
调整后编码
示例值:P00000456
|
PositionAdjustmentInfo.Builder |
targetCostCenter(String targetCostCenter)
调整后岗位默认成本中心
ID,可以通过[【搜索成本中心信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/cost_center/search)接口获取详情
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
targetDepartment(String targetDepartment)
调整后所属部门 ID,如果是一个已存在的部门, 则会使用其飞书人事部门 ID 作为调整记录
ID,可通过[【批量查询部门V2】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get)
或者[【搜索部门信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/search)
获取详情
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
targetDepartmentIdPaths(OrgdraftDepartmentId[] targetDepartmentIdPaths)
调整后部门全路径,从根部门开始自上而下返回部门 ID 列表
示例值:
|
PositionAdjustmentInfo.Builder |
targetDescriptions(I18n[] targetDescriptions)
调整后描述
示例值:
|
PositionAdjustmentInfo.Builder |
targetDirectLeader(String targetDirectLeader)
调整后直线上级(岗位)
ID,如果是一个已存在的岗位,可通过[【查询岗位信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/position/query)获取详情
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
targetDraftDepartment(String targetDraftDepartment)
调整后所属部门临时 ID,为避免一个没有经过审批的组织架构调整影响正在运行的系统,如果是在组织架构调整中新生成的『部门』,会返回一个临时 ID,格式为
"td_xxx",;可通过[【批量查询部门调整内容】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/approval_groups/open_query_department_change_list_by_ids)获取详情,ID
类型需要为 ==people_corehr_department_id==
示例值:td_704442734715974602312
|
PositionAdjustmentInfo.Builder |
targetDraftDirectLeader(String targetDraftDirectLeader)
调整后直线上级(岗位) ID,对于在本次调整中新建的岗位,在调整未生效前会返回格式为 td_xxx 的过程岗位 ID,生效后将返回正式的岗位ID
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
targetEmployeeTypes(String[] targetEmployeeTypes)
调整后人员类型 ID
列表,可通过[【查询人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
targetIsKeyPosition(Boolean targetIsKeyPosition)
调整后是否关键岗位
示例值:true
|
PositionAdjustmentInfo.Builder |
targetJob(String targetJob)
调整后职务
ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详情
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
targetJobFamilies(String[] targetJobFamilies)
调整后序列 ID
列表,可通过[【批量查询序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/list)获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
targetJobGrades(String[] targetJobGrades)
调整后职等 ID
列表,可通过[【查询职等信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
targetJobLevels(String[] targetJobLevels)
调整后职级 ID 列表,可通过[【通过职级 ID
批量获取职级信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_level/batch_get)获取详情
示例值:
|
PositionAdjustmentInfo.Builder |
targetNames(I18n[] targetNames)
调整后名称
示例值:
|
PositionAdjustmentInfo.Builder |
targetWorkingHoursType(String targetWorkingHoursType)
调整后工时制度
ID,枚举值及详细信息可通过[【批量查询工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/list)接口查询获得
示例值:6974659700705068581
|
PositionAdjustmentInfo.Builder |
targetWorkLocations(String[] targetWorkLocations)
调整后工作地点 ID 列表,可通过[【通过地点 ID
批量获取地点信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/location/batch_get)接口获取详情
示例值:
|
public PositionAdjustmentInfo.Builder originalJobFamilies(String[] originalJobFamilies)
示例值:
originalJobFamilies - public PositionAdjustmentInfo.Builder targetJobFamilies(String[] targetJobFamilies)
示例值:
targetJobFamilies - public PositionAdjustmentInfo.Builder originalDepartment(String originalDepartment)
示例值:6974659700705068581
originalDepartment - public PositionAdjustmentInfo.Builder targetDepartment(String targetDepartment)
示例值:6974659700705068581
targetDepartment - public PositionAdjustmentInfo.Builder targetDraftDepartment(String targetDraftDepartment)
示例值:td_704442734715974602312
targetDraftDepartment - public PositionAdjustmentInfo.Builder originalCostCenter(String originalCostCenter)
示例值:6974659700705068581
originalCostCenter - public PositionAdjustmentInfo.Builder targetCostCenter(String targetCostCenter)
示例值:6974659700705068581
targetCostCenter - public PositionAdjustmentInfo.Builder originalWorkingHoursType(String originalWorkingHoursType)
示例值:6974659700705068581
originalWorkingHoursType - public PositionAdjustmentInfo.Builder targetWorkingHoursType(String targetWorkingHoursType)
示例值:6974659700705068581
targetWorkingHoursType - public PositionAdjustmentInfo.Builder originalJob(String originalJob)
示例值:6974659700705068581
originalJob - public PositionAdjustmentInfo.Builder targetJob(String targetJob)
示例值:6974659700705068581
targetJob - public PositionAdjustmentInfo.Builder originalIsKeyPosition(Boolean originalIsKeyPosition)
示例值:true
originalIsKeyPosition - public PositionAdjustmentInfo.Builder targetIsKeyPosition(Boolean targetIsKeyPosition)
示例值:true
targetIsKeyPosition - public PositionAdjustmentInfo.Builder originalEmployeeTypes(String[] originalEmployeeTypes)
示例值:
originalEmployeeTypes - public PositionAdjustmentInfo.Builder targetEmployeeTypes(String[] targetEmployeeTypes)
示例值:
targetEmployeeTypes - public PositionAdjustmentInfo.Builder originalNames(I18n[] originalNames)
示例值:
originalNames - public PositionAdjustmentInfo.Builder targetNames(I18n[] targetNames)
示例值:
targetNames - public PositionAdjustmentInfo.Builder originalJobGrades(String[] originalJobGrades)
示例值:
originalJobGrades - public PositionAdjustmentInfo.Builder targetJobGrades(String[] targetJobGrades)
示例值:
targetJobGrades - public PositionAdjustmentInfo.Builder originalCode(String originalCode)
示例值:P00000456
originalCode - public PositionAdjustmentInfo.Builder targetCode(String targetCode)
示例值:P00000456
targetCode - public PositionAdjustmentInfo.Builder originalJobLevels(String[] originalJobLevels)
示例值:
originalJobLevels - public PositionAdjustmentInfo.Builder targetJobLevels(String[] targetJobLevels)
示例值:
targetJobLevels - public PositionAdjustmentInfo.Builder originalActive(Boolean originalActive)
示例值:true
originalActive - public PositionAdjustmentInfo.Builder targetActive(Boolean targetActive)
示例值:true
targetActive - public PositionAdjustmentInfo.Builder originalDirectLeader(String originalDirectLeader)
示例值:6974659700705068581
originalDirectLeader - public PositionAdjustmentInfo.Builder targetDirectLeader(String targetDirectLeader)
示例值:6974659700705068581
targetDirectLeader - public PositionAdjustmentInfo.Builder targetDraftDirectLeader(String targetDraftDirectLeader)
示例值:6974659700705068581
targetDraftDirectLeader - public PositionAdjustmentInfo.Builder originalWorkLocations(String[] originalWorkLocations)
示例值:
originalWorkLocations - public PositionAdjustmentInfo.Builder targetWorkLocations(String[] targetWorkLocations)
示例值:
targetWorkLocations - public PositionAdjustmentInfo.Builder originalDescriptions(I18n[] originalDescriptions)
示例值:
originalDescriptions - public PositionAdjustmentInfo.Builder targetDescriptions(I18n[] targetDescriptions)
示例值:
targetDescriptions - public PositionAdjustmentInfo.Builder originalDepartmentIdPaths(OrgdraftDepartmentId[] originalDepartmentIdPaths)
示例值:
originalDepartmentIdPaths - public PositionAdjustmentInfo.Builder targetDepartmentIdPaths(OrgdraftDepartmentId[] targetDepartmentIdPaths)
示例值:
targetDepartmentIdPaths - public PositionAdjustmentInfo.Builder customFields(ChangeFieldPair[] customFields)
示例值:
customFields - public PositionAdjustmentInfo build()
Copyright © 2026. All rights reserved.