public static class BatchGetDepartmentReqBody.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchGetDepartmentReqBody |
build() |
BatchGetDepartmentReqBody.Builder |
departmentIdList(String[] departmentIdList)
部门ID列表,和 department_name_list 至少传一种,两个字段都传会按照 AND 方式查询,都不传则返回空。
|
BatchGetDepartmentReqBody.Builder |
departmentNameList(String[] departmentNameList)
部门名称精确匹配,最多传100个。
|
BatchGetDepartmentReqBody.Builder |
fields(String[] fields)
返回数据的字段列表,都不传则只返回部门 ID,可选值:;- version_id:当前版本ID;- sub_type:部门子类型;- manager:负责人;-
is_root:是否根部门;- is_confidential:是否保密;- effective_date:当前版本生效日期;- expiration_date:当前版本失效日期;-
department_name:部门名称;- parent_department_id:上级部门ID;- tree_order:树形排序;- list_order:列表排序;-
code:部门编码;- active:是否启用;- description:部门描述;- custom_fields:自定义字段;- staffing_model:岗职务模式;-
cost_center_id:部门默认成本中心;- created_time:创建时间(版本创建时间);- updated_time:更新时间;- created_by:创建人;-
updated_by:更新人;- record_created_time:记录创建时间(第一个版本的创建时间);- record_updated_time:记录更新时间;-
record_created_by:记录创建人;- record_updated_by:记录更新人
示例值:
|
public BatchGetDepartmentReqBody.Builder departmentIdList(String[] departmentIdList)
示例值:
departmentIdList - public BatchGetDepartmentReqBody.Builder fields(String[] fields)
示例值:
fields - public BatchGetDepartmentReqBody.Builder departmentNameList(String[] departmentNameList)
示例值:
departmentNameList - public BatchGetDepartmentReqBody build()
Copyright © 2026. All rights reserved.