类 SearchEmployeeReqBody.Builder

java.lang.Object
com.lark.oapi.service.corehr.v2.model.SearchEmployeeReqBody.Builder
封闭类:
SearchEmployeeReqBody

public static class SearchEmployeeReqBody.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • fields

      public SearchEmployeeReqBody.Builder fields(String[] fields)
      返回数据的字段列表,填写方式:为空时默认仅返回 ID

      示例值:

      参数:
      fields -
      返回:
    • employmentIdList

      public SearchEmployeeReqBody.Builder employmentIdList(String[] employmentIdList)
      雇佣 ID 列表

      示例值:

      参数:
      employmentIdList -
      返回:
    • employeeNumberList

      public SearchEmployeeReqBody.Builder employeeNumberList(String[] employeeNumberList)
      工号列表

      示例值:

      参数:
      employeeNumberList -
      返回:
    • workEmail

      public SearchEmployeeReqBody.Builder workEmail(String workEmail)
      邮箱,精确匹配查询

      示例值:13312345678@qq.com

      参数:
      workEmail -
      返回:
    • phoneNumber

      public SearchEmployeeReqBody.Builder phoneNumber(String phoneNumber)
      个人电话,精确匹配查询

      示例值:16760342300

      参数:
      phoneNumber -
      返回:
    • keyWord

      public SearchEmployeeReqBody.Builder keyWord(String keyWord)
      搜索关键字,支持对邮箱、工号和姓名的模糊匹配

      示例值:张三

      参数:
      keyWord -
      返回:
    • employmentStatus

      public SearchEmployeeReqBody.Builder employmentStatus(String employmentStatus)
      雇佣状态

      示例值:

      参数:
      employmentStatus -
      返回:
    • employmentStatus

      public SearchEmployeeReqBody.Builder employmentStatus(SearchEmployeeEmploymentStatusEnum employmentStatus)
      雇佣状态

      示例值:

      参数:
      employmentStatus - SearchEmployeeEmploymentStatusEnum
      返回:
    • employeeTypeId

      public SearchEmployeeReqBody.Builder employeeTypeId(String employeeTypeId)
      人员类型 ID

      示例值:6971090097697521314

      参数:
      employeeTypeId -
      返回:
    • departmentIdList

      public SearchEmployeeReqBody.Builder departmentIdList(String[] departmentIdList)
      部门 ID,根据员工主职的直接部门查询,可以通过【查询部门】API 获取 部门 ID

      示例值:

      参数:
      departmentIdList -
      返回:
    • directManagerIdList

      public SearchEmployeeReqBody.Builder directManagerIdList(String[] directManagerIdList)
      直接上级的雇佣 ID,根据员工主职的直接上级查询

      示例值:7027024823985447820

      参数:
      directManagerIdList -
      返回:
    • dottedLineManagerIdList

      public SearchEmployeeReqBody.Builder dottedLineManagerIdList(String[] 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

      public SearchEmployeeReqBody.Builder effectiveTimeStart(String effectiveTimeStart)
      入职日期-搜索范围开始,需要与搜索范围结束一同使用

      示例值:2020-01-01

      参数:
      effectiveTimeStart -
      返回:
    • effectiveTimeEnd

      public SearchEmployeeReqBody.Builder effectiveTimeEnd(String 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

      public SearchEmployeeReqBody.Builder nationalIdNumberList(String[] nationalIdNumberList)
      居民身份证件号码精确搜索

      示例值:

      参数:
      nationalIdNumberList -
      返回:
    • phoneNumberList

      public SearchEmployeeReqBody.Builder phoneNumberList(String[] phoneNumberList)
      个人电话列表,精确匹配查询

      示例值:

      参数:
      phoneNumberList -
      返回:
    • emailAddressList

      public SearchEmployeeReqBody.Builder emailAddressList(String[] emailAddressList)
      工作邮箱地址列表,精确匹配查询

      示例值:

      参数:
      emailAddressList -
      返回:
    • departmentIdListIncludeSub

      public SearchEmployeeReqBody.Builder departmentIdListIncludeSub(String[] departmentIdListIncludeSub)
      部门 ID 列表,查询属于该部门及下级部门的员工

      示例值:

      参数:
      departmentIdListIncludeSub -
      返回:
    • build

      public SearchEmployeeReqBody build()