public static class QueryMultiTimelineCostCenterReqBody.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryMultiTimelineCostCenterReqBody |
build() |
QueryMultiTimelineCostCenterReqBody.Builder |
costCenterIds(String[] costCenterIds)
成本中心 ID
列表,详细信息可通过[【搜索成本中心信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/cost_center/search)接口查询获得
示例值:
|
QueryMultiTimelineCostCenterReqBody.Builder |
effectiveDateEnd(String effectiveDateEnd)
生效日期结束(包含);;- 若不传入 effective_date_start 和 effective_date_end,默认返回当前生效版本。
|
QueryMultiTimelineCostCenterReqBody.Builder |
effectiveDateStart(String effectiveDateStart)
生效日期开始(包含);;- 若不传入 effective_date_start 和 effective_date_end,默认返回当前生效版本。
|
QueryMultiTimelineCostCenterReqBody.Builder |
fields(String[] fields)
返回数据的字段列表,可选;- name:成本中心名称;- code:编码;- active:当前实体是否启用;- parent_cost_center_id: 上级成本中心ID;-
managers:成本中心负责人ID 列表;- description:成本中心描述;- effective_date:版本生效日期;- expiration_date:版本失效日期
示例值:
|
public QueryMultiTimelineCostCenterReqBody.Builder costCenterIds(String[] costCenterIds)
示例值:
costCenterIds - public QueryMultiTimelineCostCenterReqBody.Builder effectiveDateStart(String effectiveDateStart)
示例值:2024-01-01
effectiveDateStart - public QueryMultiTimelineCostCenterReqBody.Builder effectiveDateEnd(String effectiveDateEnd)
示例值:2024-12-31
effectiveDateEnd - public QueryMultiTimelineCostCenterReqBody.Builder fields(String[] fields)
示例值:
fields - public QueryMultiTimelineCostCenterReqBody build()
Copyright © 2026. All rights reserved.