类 SearchEmployeeReqBody.Builder
java.lang.Object
com.lark.oapi.service.corehr.v2.model.SearchEmployeeReqBody.Builder
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()departmentIdList(String[] departmentIdList) 部门 ID,根据员工主职的直接部门查询,可以通过【查询部门】API 获取 部门 IDdepartmentIdListIncludeSub(String[] departmentIdListIncludeSub) 部门 ID 列表,查询属于该部门及下级部门的员工directManagerIdList(String[] directManagerIdList) 直接上级的雇佣 ID,根据员工主职的直接上级查询dottedLineManagerIdList(String[] dottedLineManagerIdList) 虚线上级的雇佣 ID,根据员工主职的虚线上级查询effectiveTimeEnd(String effectiveTimeEnd) 入职日期-搜索范围结束effectiveTimeStart(String effectiveTimeStart) 入职日期-搜索范围开始,需要与搜索范围结束一同使用emailAddressList(String[] emailAddressList) 工作邮箱地址列表,精确匹配查询employeeNumberList(String[] employeeNumberList) 工号列表employeeTypeId(String employeeTypeId) 人员类型 IDemploymentIdList(String[] employmentIdList) 雇佣 ID 列表employmentStatus(SearchEmployeeEmploymentStatusEnum employmentStatus) 雇佣状态employmentStatus(String employmentStatus) 雇佣状态返回数据的字段列表,填写方式:为空时默认仅返回 ID搜索关键字,支持对邮箱、工号和姓名的模糊匹配nationalIdNumberList(String[] nationalIdNumberList) 居民身份证件号码精确搜索phoneNumber(String phoneNumber) 个人电话,精确匹配查询phoneNumberList(String[] phoneNumberList) 个人电话列表,精确匹配查询preferredEnglishFullNameList(String[] preferredEnglishFullNameList) 常用英文全名精确搜索preferredLocalFullNameList(String[] preferredLocalFullNameList) 常用本地全名精确搜索regularEmployeeStartDateEnd(String regularEmployeeStartDateEnd) 转正式员工日期-搜索范围结束regularEmployeeStartDateStart(String regularEmployeeStartDateStart) 转正式员工日期-搜索范围开始邮箱,精确匹配查询workLocationIdListIncludeSub(String[] workLocationIdListIncludeSub) 工作地点 ID 列表,查询属于该工作地点及下级工作地点的员工
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
fields
返回数据的字段列表,填写方式:为空时默认仅返回 ID示例值:
- 参数:
fields-- 返回:
-
employmentIdList
雇佣 ID 列表示例值:
- 参数:
employmentIdList-- 返回:
-
employeeNumberList
工号列表示例值:
- 参数:
employeeNumberList-- 返回:
-
workEmail
邮箱,精确匹配查询示例值:13312345678@qq.com
- 参数:
workEmail-- 返回:
-
phoneNumber
个人电话,精确匹配查询示例值:16760342300
- 参数:
phoneNumber-- 返回:
-
keyWord
搜索关键字,支持对邮箱、工号和姓名的模糊匹配示例值:张三
- 参数:
keyWord-- 返回:
-
employmentStatus
雇佣状态示例值:
- 参数:
employmentStatus-- 返回:
-
employmentStatus
public SearchEmployeeReqBody.Builder employmentStatus(SearchEmployeeEmploymentStatusEnum employmentStatus) 雇佣状态示例值:
- 参数:
employmentStatus-SearchEmployeeEmploymentStatusEnum- 返回:
-
employeeTypeId
人员类型 ID示例值:6971090097697521314
- 参数:
employeeTypeId-- 返回:
-
departmentIdList
部门 ID,根据员工主职的直接部门查询,可以通过【查询部门】API 获取 部门 ID示例值:
- 参数:
departmentIdList-- 返回:
-
directManagerIdList
直接上级的雇佣 ID,根据员工主职的直接上级查询示例值:7027024823985447820
- 参数:
directManagerIdList-- 返回:
-
dottedLineManagerIdList
虚线上级的雇佣 ID,根据员工主职的虚线上级查询示例值:7027024823985117820
- 参数:
dottedLineManagerIdList-- 返回:
-
regularEmployeeStartDateStart
public SearchEmployeeReqBody.Builder regularEmployeeStartDateStart(String regularEmployeeStartDateStart) 转正式员工日期-搜索范围开始示例值:2020-01-01
- 参数:
regularEmployeeStartDateStart-- 返回:
-
regularEmployeeStartDateEnd
public SearchEmployeeReqBody.Builder regularEmployeeStartDateEnd(String regularEmployeeStartDateEnd) 转正式员工日期-搜索范围结束示例值:2020-01-01
- 参数:
regularEmployeeStartDateEnd-- 返回:
-
effectiveTimeStart
入职日期-搜索范围开始,需要与搜索范围结束一同使用示例值:2020-01-01
- 参数:
effectiveTimeStart-- 返回:
-
effectiveTimeEnd
入职日期-搜索范围结束示例值:2020-01-01
- 参数:
effectiveTimeEnd-- 返回:
-
workLocationIdListIncludeSub
public SearchEmployeeReqBody.Builder workLocationIdListIncludeSub(String[] workLocationIdListIncludeSub) 工作地点 ID 列表,查询属于该工作地点及下级工作地点的员工示例值:
- 参数:
workLocationIdListIncludeSub-- 返回:
-
preferredEnglishFullNameList
public SearchEmployeeReqBody.Builder preferredEnglishFullNameList(String[] preferredEnglishFullNameList) 常用英文全名精确搜索示例值:
- 参数:
preferredEnglishFullNameList-- 返回:
-
preferredLocalFullNameList
public SearchEmployeeReqBody.Builder preferredLocalFullNameList(String[] preferredLocalFullNameList) 常用本地全名精确搜索示例值:
- 参数:
preferredLocalFullNameList-- 返回:
-
nationalIdNumberList
居民身份证件号码精确搜索示例值:
- 参数:
nationalIdNumberList-- 返回:
-
phoneNumberList
个人电话列表,精确匹配查询示例值:
- 参数:
phoneNumberList-- 返回:
-
emailAddressList
工作邮箱地址列表,精确匹配查询示例值:
- 参数:
emailAddressList-- 返回:
-
departmentIdListIncludeSub
public SearchEmployeeReqBody.Builder departmentIdListIncludeSub(String[] departmentIdListIncludeSub) 部门 ID 列表,查询属于该部门及下级部门的员工示例值:
- 参数:
departmentIdListIncludeSub-- 返回:
-
build
-