臭名昭著aTrust隔离计划1.臭名昭著aTrust隔离计划2.VPN原理与aTrust隔离网络实践3.docker-easyconnect到底做了什么4.TUN(tunnel-隧道-虚拟网卡)模式
个人项目
personal(个人展示)GitHub Actions 自动部署个人展示项目
基于Quartz搭建的个人博客1.Quartz个人博客使用教程2.使用 rsync 增量部署 Quartz 博客3.使用 GitHub Actions 自动部署 Quartz 博客5.域名绑定6.CDN加速Obsidian、双向链接与知识图谱
旅行
行程攻略青岛三日游行程攻略
前端
NginxNginx配置与反向代理入门
Nodenpm与npx的区别
中华财险-公司项目
对外接口文档
基础数据码表对外接口(仅支持rpc调用)业务码表对外接口应用主数据对外接口
基础运营查询版本更新日志详情消息中心对外接口站内信对外接口站内信模板配置手册
权限中心权限中心对外接口文档(最新)权限中心对外接口文档前端ACL-CORE FACADE依赖版本
审计中心审计中心对外接口文档audit-center-facade版本
审批中心工作流迁审批流现状工作流迁审批流API能力替换方案老审批流接口文档审批中心接口文档审批中心业务回调FAQ
账号中心内部系统对接单点登录内部系统对接认证中心三方网页应用登录授权账号中心对外接口文档前端账号中心RPC接口文档账户变更对外广播消息文档账户中心对外接口HRMS外部员工变更广播消息文档HRMS外部员工对外接口
组织员工岗位🔥机构映射SDK接口文档员工岗位变更通知说明组织机构管营一体概念与用法组织员工对外广播消息文档组织员工岗位对外接口文档组织员工岗位对外接口文档前端组织员工岗位数据模型组织员工主数据业务场景案例organization-facade版本
hrms(大型人力资源外包管理系统)
项目架构说明HRMS Maven模块与依赖说明
项目说明0.流程中心模块0.组织模块说明1.业务线模块2.计划模块3.项目模块4.协议模块5.供应商模块6.合约域模块7.外包人员模块*核心:外包人员生命周期
项目运维外包人员项目编制差异排查与修复2.HRMS相关问题排查4.修改externalId(externalId和accountId不一致)
需求-系分
1.内部转外包0723外包人员关联历史内部账号系分新增外包人员关联历史账号内容(紧急0723上线)需求
2.工作岗位0820工作岗位0820需求工作岗位0820需求-系分
3.用工模式调整0917内部人员转外包用工系统需求2内部人员转外包用工系统需求-系分
sso(账号中心-单点登录)
项目架构说明aboss-sso项目架构入门AOP统一日志打印链路Maven多模块项目高级知识OAuth2.0
项目说明1.SSO-OAuth2.0与IDaaS登录流程2.外部账号创建流水号并发问题分析
AI
使用说明
第三方插件&技能简介Archify使用与安装指南Ponytail使用指南
CodexCodex CLI与IDE区别及使用指南Codex Hook单独配置与提交通知Codex MCP安装与使用指南Codex第三方插件安装与使用指南
Agent开发1.LLM、Token、上下文窗口与模型参数2.大模型 API、请求参数与响应结构3.Spring AI ChatClient4.Prompt、System Prompt、Prompt 模板6.结构化输出、JSON Schema7.SSE 流式响应8.会话 ID、聊天记录、Redis9.超时、重试、限流、降级10.完成可运行聊天接口
GitGit常用命令与Obsidian推送排查
Java
面试题Java基础与集合面试题
AtomicInteger原子计数与并发安全ConcurrentHashMap并发安全与计数Java线程、线程池与Future
python
基础Python基础语法
HTTPXHRMS员工详情接口调用(Python HTTPX)

https://cic_irc.yuque.com/tyl581/ggwv9w/iempvt2gduzi4khk

pom依赖

<dependency>
    <groupId>com.aliyun.fsi.insurance</groupId>
    <artifactId>aboss-property-hrms-facade</artifactId>
    <version>1.0.3-SNAPSHOT</version>
</dependency>

1. 查询外部员工详情

URL: /platform/api/aboss/hrms/staff/rpc/query-staff-detail

Type: GET

Author: zhanghua

Content-Type: application/json; charset=utf-8

Description: com.aliyunfsi.insurance.hrms.facade.staff.OutsourcedStaffFacade#queryStaffDetail(com.aliyunfsi.insurance.hrms.facade.dto.req.OutStaffIdQry)

Body-parameters:

ParameterTypeDescriptionRequiredSince
accountIdstring账户idtrue-

Request-example:

curl -X GET -H 'Content-Type: application/json; charset=utf-8' -i /platform/api/aboss/hrms/staff/rpc/query-staff-detail --data '{
  "accountId": "184"
}'

Response-fields:

FieldTypeDescriptionSince
staffIdstring员工id-
accountIdstring账号-
displayNamestring显示名称-
phonestring手机号-
branchOrgCodestring归属组织编码-
branchOrgNamestring归属组织名称-
operatingOrgCodestring归属经营组织编码-
operatingOrgNamestring归属经营组织名称-
agreementNostring关联协议ID-
agreementNamestring协议名称-
businessLineCodestring业务线-
businessLineNamestring业务线名称-
workPositionCodestring工作岗位-
workPositionNamestring工作岗位名称-
standardPositionCodestring标准岗位-
standardPositionNamestring标准岗位名称-
supplierIdstring供应商-
supplierNamestring供应商名称-
staffStatusstring在职状态(-3入场审批中,-2审批通过待入场,-1未入场,0已入场,1已离场,2离场审批中,3审批通过待离场)-
certificateTypestring证件类型-
certificateNumberstring证件号码-
genderstring性别-
birthDatestring出生日期-
educationstring最高学历-
politicalStatusstring政治面貌-
projectCodestring项目id-
projectNamestring项目名称-
agreementBranchOrgCodestring协议归属组织编码-
agreementBranchOrgNamestring协议归属组织名称-
onboardDatestring入场日期-
offboardDatestring离场日期-
autoAuthorizeint32是否自动授权-
businessCategorystring业务分类-
ageint32年龄-
ethnicstring民族-
householdstring户口类型-
workStartDatestring开始工作时间-
emailstring邮箱-
highestEducationstring最高学历学制-
majorstring所学专业-
highestDegreestring最高学位-
mailingAddressstring通讯地址-
picturestring照片-
workLocationstring工作所在地-
workLocationNamestring工作所在地名称-
employmentCategorystring用工类型-
regionNamestring区域名称-

Response-example:

{
  "staffId": "184",
  "accountId": "184",
  "displayName": "reynaldo.beahan",
  "phone": "1-320-206-5035",
  "branchOrgCode": "8865",
  "branchOrgName": "reynaldo.beahan",
  "operatingOrgCode": "8865",
  "operatingOrgName": "reynaldo.beahan",
  "agreementNo": "mib4tv",
  "agreementName": "reynaldo.beahan",
  "businessLineCode": "8865",
  "businessLineName": "reynaldo.beahan",
  "workPositionCode": "8865",
  "workPositionName": "reynaldo.beahan",
  "standardPositionCode": "8865",
  "standardPositionName": "reynaldo.beahan",
  "supplierId": "184",
  "supplierName": "reynaldo.beahan",
  "staffStatus": "98cb1m",
  "certificateType": "s8v7ox",
  "certificateNumber": "sx9d0i",
  "gender": "1e0gzk",
  "birthDate": "2025-11-13",
  "education": "kvjpjd",
  "politicalStatus": "wcm626",
  "projectCode": "8865",
  "projectName": "reynaldo.beahan",
  "agreementBranchOrgCode": "8865",
  "agreementBranchOrgName": "reynaldo.beahan",
  "onboardDate": "2025-11-13",
  "offboardDate": "2025-11-13",
  "autoAuthorize": 411,
  "businessCategory": "n5e6a6",
  "age": 5,
  "ethnic": "mg40jz",
  "household": "kw0vk2",
  "workStartDate": "2025-11-13",
  "email": "kathline.donnelly@yahoo.com",
  "highestEducation": "irp795",
  "major": "gx4gnm",
  "highestDegree": "1pg9y6",
  "mailingAddress": "Apt. 858 4464 Luanna Stravenue, New Lessie, IL 74374-0921",
  "picture": "kt6gxc",
  "workLocation": "55udgk",
  "workLocationName": "reynaldo.beahan",
  "employmentCategory": "vkyh9z",
  "regionName": "reynaldo.beahan"
}

2. 批量查询外部员工详情

URL: /platform/api/aboss/hrms/staff/rpc/query-staff-list

Type: GET

Author: zhanghua

Content-Type: application/json; charset=utf-8

Description: com.aliyunfsi.insurance.hrms.facade.staff.OutsourcedStaffFacade#queryStaffList(com.aliyunfsi.insurance.hrms.facade.dto.req.OutStaffIdsQry)

Body-parameters:

ParameterTypeDescriptionRequiredSince
accountIdsarray账户id集合(最多100条)true-

Request-example:

curl -X GET -H 'Content-Type: application/json; charset=utf-8' -i /platform/api/aboss/hrms/staff/rpc/query-staff-list --data '{
  "accountIds": [
    "718y4l"
  ]
}'

Response-fields:

FieldTypeDescriptionSince
staffIdstring员工id-
accountIdstring账号-
displayNamestring显示名称-
phonestring手机号-
branchOrgCodestring归属组织编码-
branchOrgNamestring归属组织名称-
operatingOrgCodestring归属经营组织编码-
operatingOrgNamestring归属经营组织名称-
agreementNostring关联协议ID-
agreementNamestring协议名称-
businessLineCodestring业务线-
businessLineNamestring业务线名称-
workPositionCodestring工作岗位-
workPositionNamestring工作岗位名称-
standardPositionCodestring标准岗位-
standardPositionNamestring标准岗位名称-
supplierIdstring供应商-
supplierNamestring供应商名称-
staffStatusstring在职状态(-3入场审批中,-2审批通过待入场,-1未入场,0已入场,1已离场,2离场审批中,3审批通过待离场)-
certificateTypestring证件类型-
certificateNumberstring证件号码-
genderstring性别-
birthDatestring出生日期-
educationstring最高学历-
politicalStatusstring政治面貌-
projectCodestring项目id-
projectNamestring项目名称-
agreementBranchOrgCodestring协议归属组织编码-
agreementBranchOrgNamestring协议归属组织名称-
onboardDatestring入场日期-
offboardDatestring离场日期-
autoAuthorizeint32是否自动授权-
businessCategorystring业务分类-
ageint32年龄-
ethnicstring民族-
householdstring户口类型-
workStartDatestring开始工作时间-
emailstring邮箱-
highestEducationstring最高学历学制-
majorstring所学专业-
highestDegreestring最高学位-
mailingAddressstring通讯地址-
picturestring照片-
workLocationstring工作所在地-
workLocationNamestring工作所在地名称-
employmentCategorystring用工类型-
regionNamestring区域名称-

Response-example:

[
  {
    "staffId": "184",
    "accountId": "184",
    "displayName": "reynaldo.beahan",
    "phone": "1-320-206-5035",
    "branchOrgCode": "8865",
    "branchOrgName": "reynaldo.beahan",
    "operatingOrgCode": "8865",
    "operatingOrgName": "reynaldo.beahan",
    "agreementNo": "4lassg",
    "agreementName": "reynaldo.beahan",
    "businessLineCode": "8865",
    "businessLineName": "reynaldo.beahan",
    "workPositionCode": "8865",
    "workPositionName": "reynaldo.beahan",
    "standardPositionCode": "8865",
    "standardPositionName": "reynaldo.beahan",
    "supplierId": "184",
    "supplierName": "reynaldo.beahan",
    "staffStatus": "qgazn5",
    "certificateType": "vdiz81",
    "certificateNumber": "yj1299",
    "gender": "8s3jte",
    "birthDate": "2025-11-13",
    "education": "5vul9i",
    "politicalStatus": "gfg5na",
    "projectCode": "8865",
    "projectName": "reynaldo.beahan",
    "agreementBranchOrgCode": "8865",
    "agreementBranchOrgName": "reynaldo.beahan",
    "onboardDate": "2025-11-13",
    "offboardDate": "2025-11-13",
    "autoAuthorize": 14,
    "businessCategory": "bfzddr",
    "age": 5,
    "ethnic": "awe6k8",
    "household": "axwxxg",
    "workStartDate": "2025-11-13",
    "email": "kathline.donnelly@yahoo.com",
    "highestEducation": "pmytlq",
    "major": "6bfss0",
    "highestDegree": "ddynsa",
    "mailingAddress": "Apt. 858 4464 Luanna Stravenue, New Lessie, IL 74374-0921",
    "picture": "112i8f",
    "workLocation": "e6r8ch",
    "workLocationName": "reynaldo.beahan",
    "employmentCategory": "j2c4lc",
    "regionName": "reynaldo.beahan"
  }
]

3. 分页获取外部员工详情列表

URL: /platform/api/aboss/hrms/staff/rpc/query-page-staff-list

Type: GET

Author: zhanghua

Content-Type: application/json; charset=utf-8

Description: com.aliyunfsi.insurance.hrms.facade.staff.OutsourcedStaffFacade#queryPageStaffList(com.aliyunfsi.insurance.hrms.facade.dto.req.OutStaffQry)

Body-parameters:

ParameterTypeDescriptionRequiredSince
currentint32当前页码true-
pageSizeint32每页展示条数true-
accountIdstring账户idfalse-
displayNamestring显示名称(左匹配模糊查询)false-
phonestring手机号false-
certificateTypestring证件类型false-
certificateNumberstring证件号码false-
branchOrgCodeListarray归属组织编码集合(返回当前机构,不超过100个)false-
workPositionCodeListarray工作岗位编码集合(不超过100个)false-
standardPositionCodeListarray标准岗位编码集合不超过100个)false-

Request-example:

curl -X GET -H 'Content-Type: application/json; charset=utf-8' -i /platform/api/aboss/hrms/staff/rpc/query-page-staff-list --data '{
  "current": 721,
  "pageSize": 10,
  "accountId": "184",
  "displayName": "reynaldo.beahan",
  "phone": "1-320-206-5035",
  "certificateType": "ik9hv9",
  "certificateNumber": "0gc8e3",
  "branchOrgCodeList": [
    "8zr99y"
  ],
  "workPositionCodeList": [
    "du0mzr"
  ],
  "standardPositionCodeList": [
    "jx51d3"
  ]
}'

Response-fields:

FieldTypeDescriptionSince
totalint64No comments found.-
currentint64No comments found.-
pageSizeint64No comments found.-
listarrayNo comments found.-
└─staffIdstring员工id-
└─accountIdstring账号-
└─displayNamestring显示名称-
└─phonestring手机号-
└─branchOrgCodestring归属组织编码-
└─branchOrgNamestring归属组织名称-
└─operatingOrgCodestring归属经营组织编码-
└─operatingOrgNamestring归属经营组织名称-
└─agreementNostring关联协议ID-
└─agreementNamestring协议名称-
└─businessLineCodestring业务线-
└─businessLineNamestring业务线名称-
└─workPositionCodestring工作岗位-
└─workPositionNamestring工作岗位名称-
└─standardPositionCodestring标准岗位-
└─standardPositionNamestring标准岗位名称-
└─supplierIdstring供应商-
└─supplierNamestring供应商名称-
└─staffStatusstring在职状态(-3入场审批中,-2审批通过待入场,-1未入场,0已入场,1已离场,2离场审批中,3审批通过待离场)-
└─certificateTypestring证件类型-
└─certificateNumberstring证件号码-
└─genderstring性别-
└─birthDatestring出生日期-
└─educationstring最高学历-
└─politicalStatusstring政治面貌-
└─projectCodestring项目id-
└─projectNamestring项目名称-
└─agreementBranchOrgCodestring协议归属组织编码-
└─agreementBranchOrgNamestring协议归属组织名称-
└─onboardDatestring入场日期-
└─offboardDatestring离场日期-
└─autoAuthorizeint32是否自动授权-
└─businessCategorystring业务分类-
└─ageint32年龄-
└─ethnicstring民族-
└─householdstring户口类型-
└─workStartDatestring开始工作时间-
└─emailstring邮箱-
└─highestEducationstring最高学历学制-
└─majorstring所学专业-
└─highestDegreestring最高学位-
└─mailingAddressstring通讯地址-
└─picturestring照片-
└─workLocationstring工作所在地-
└─workLocationNamestring工作所在地名称-
└─employmentCategorystring用工类型-
└─regionNamestring区域名称-

Response-example:

{
  "total": 0,
  "current": 449,
  "pageSize": 887,
  "list": [
    {
      "staffId": "184",
      "accountId": "184",
      "displayName": "reynaldo.beahan",
      "phone": "1-320-206-5035",
      "branchOrgCode": "8865",
      "branchOrgName": "reynaldo.beahan",
      "operatingOrgCode": "8865",
      "operatingOrgName": "reynaldo.beahan",
      "agreementNo": "v6qzkm",
      "agreementName": "reynaldo.beahan",
      "businessLineCode": "8865",
      "businessLineName": "reynaldo.beahan",
      "workPositionCode": "8865",
      "workPositionName": "reynaldo.beahan",
      "standardPositionCode": "8865",
      "standardPositionName": "reynaldo.beahan",
      "supplierId": "184",
      "supplierName": "reynaldo.beahan",
      "staffStatus": "u5mwxp",
      "certificateType": "d4w9fh",
      "certificateNumber": "yr75k3",
      "gender": "elr871",
      "birthDate": "2025-11-13",
      "education": "tec9nf",
      "politicalStatus": "vx5rzn",
      "projectCode": "8865",
      "projectName": "reynaldo.beahan",
      "agreementBranchOrgCode": "8865",
      "agreementBranchOrgName": "reynaldo.beahan",
      "onboardDate": "2025-11-13",
      "offboardDate": "2025-11-13",
      "autoAuthorize": 950,
      "businessCategory": "fbuwnl",
      "age": 5,
      "ethnic": "2dk9vs",
      "household": "6pvstd",
      "workStartDate": "2025-11-13",
      "email": "kathline.donnelly@yahoo.com",
      "highestEducation": "9s3sc1",
      "major": "a9ujk0",
      "highestDegree": "ecddgm",
      "mailingAddress": "Apt. 858 4464 Luanna Stravenue, New Lessie, IL 74374-0921",
      "picture": "goo2a8",
      "workLocation": "kjkyow",
      "workLocationName": "reynaldo.beahan",
      "employmentCategory": "t11itr",
      "regionName": "reynaldo.beahan"
    }
  ]
}

4. 获取外部员工详情列表

URL: /platform/api/aboss/hrms/staff/rpc/query-staff-list-by-org-code

Type: POST

Author: zhanghua

Content-Type: application/jsoPOSTn; charset=utf-8

Description: com.aliyunfsi.insurance.hrms.facade.staff.OutsourcedStaffFacade#queryStaffListByOrgCode(com.aliyunfsi.insurance.hrms.facade.dto.req.OutStaffOrgQry)

Body-parameters:

ParameterTypeDescriptionRequiredSince
branchOrgCodeString归属组织编码true-

Request-example:

curl -X GET -H 'Content-Type: application/json; charset=utf-8' -i /platform/api/aboss/hrms/staff/rpc/query-page-staff-list --data '{
  "branchOrgCode": 721
}'

Response-fields:

FieldTypeDescriptionSince
arrays
└─staffIdstring员工id-
└─accountIdstring账号-
└─displayNamestring显示名称-
└─phonestring手机号-
└─branchOrgCodestring归属组织编码-
└─branchOrgNamestring归属组织名称-
└─operatingOrgCodestring归属经营组织编码-
└─operatingOrgNamestring归属经营组织名称-
└─agreementNostring关联协议ID-
└─agreementNamestring协议名称-
└─businessLineCodestring业务线-
└─businessLineNamestring业务线名称-
└─workPositionCodestring工作岗位-
└─workPositionNamestring工作岗位名称-
└─standardPositionCodestring标准岗位-
└─standardPositionNamestring标准岗位名称-
└─supplierIdstring供应商-
└─supplierNamestring供应商名称-
└─staffStatusstring在职状态(-3入场审批中,-2审批通过待入场,-1未入场,0已入场,1已离场,2离场审批中,3审批通过待离场)-
└─certificateTypestring证件类型-
└─certificateNumberstring证件号码-
└─genderstring性别-
└─birthDatestring出生日期-
└─educationstring最高学历-
└─politicalStatusstring政治面貌-
└─projectCodestring项目id-
└─projectNamestring项目名称-
└─agreementBranchOrgCodestring协议归属组织编码-
└─agreementBranchOrgNamestring协议归属组织名称-
└─onboardDatestring入场日期-
└─offboardDatestring离场日期-
└─autoAuthorizeint32是否自动授权-
└─businessCategorystring业务分类-
└─ageint32年龄-
└─ethnicstring民族-
└─householdstring户口类型-
└─workStartDatestring开始工作时间-
└─emailstring邮箱-
└─highestEducationstring最高学历学制-
└─majorstring所学专业-
└─highestDegreestring最高学位-
└─mailingAddressstring通讯地址-
└─picturestring照片-
└─workLocationstring工作所在地-
└─workLocationNamestring工作所在地名称-
└─employmentCategorystring用工类型-
└─regionNamestring区域名称-

Response-example:

{
  "list": [
    {
      "staffId": "184",
      "accountId": "184",
      "displayName": "reynaldo.beahan",
      "phone": "1-320-206-5035",
      "branchOrgCode": "8865",
      "branchOrgName": "reynaldo.beahan",
      "operatingOrgCode": "8865",
      "operatingOrgName": "reynaldo.beahan",
      "agreementNo": "v6qzkm",
      "agreementName": "reynaldo.beahan",
      "businessLineCode": "8865",
      "businessLineName": "reynaldo.beahan",
      "workPositionCode": "8865",
      "workPositionName": "reynaldo.beahan",
      "standardPositionCode": "8865",
      "standardPositionName": "reynaldo.beahan",
      "supplierId": "184",
      "supplierName": "reynaldo.beahan",
      "staffStatus": "u5mwxp",
      "certificateType": "d4w9fh",
      "certificateNumber": "yr75k3",
      "gender": "elr871",
      "birthDate": "2025-11-13",
      "education": "tec9nf",
      "politicalStatus": "vx5rzn",
      "projectCode": "8865",
      "projectName": "reynaldo.beahan",
      "agreementBranchOrgCode": "8865",
      "agreementBranchOrgName": "reynaldo.beahan",
      "onboardDate": "2025-11-13",
      "offboardDate": "2025-11-13",
      "autoAuthorize": 950,
      "businessCategory": "fbuwnl",
      "age": 5,
      "ethnic": "2dk9vs",
      "household": "6pvstd",
      "workStartDate": "2025-11-13",
      "email": "kathline.donnelly@yahoo.com",
      "highestEducation": "9s3sc1",
      "major": "a9ujk0",
      "highestDegree": "ecddgm",
      "mailingAddress": "Apt. 858 4464 Luanna Stravenue, New Lessie, IL 74374-0921",
      "picture": "goo2a8",
      "workLocation": "kjkyow",
      "workLocationName": "reynaldo.beahan",
      "employmentCategory": "t11itr",
      "regionName": "reynaldo.beahan"
    }
  ]
}

5. 分页获取外部员工详情列表(机构本级和下级机构)

URL: /platform/api/aboss/hrms/staff/rpc/query-page-staff

Type: GET

Author: zhanghua

Content-Type: application/json; charset=utf-8

Description: com.aliyunfsi.insurance.hrms.facade.staff.OutsourcedStaffFacade#queryPageStaff(com.aliyunfsi.insurance.hrms.facade.dto.req.OutStaffPageQry)

Body-parameters:

ParameterTypeDescriptionRequiredSince
currentint32当前页码true-
pageSizeint32每页展示条数true-
accountIdstring账户idfalse-
displayNamestring显示名称(左匹配模糊查询)false-
phonestring手机号false-
certificateTypestring证件类型false-
certificateNumberstring证件号码false-
branchOrgCodestring归属组织编码false-

Request-example:

curl -X GET -H 'Content-Type: application/json; charset=utf-8' -i /platform/api/aboss/hrms/staff/rpc/query-page-staff-list --data '{
  "current": 721,
  "pageSize": 10,
  "accountId": "184",
  "displayName": "reynaldo.beahan",
  "phone": "1-320-206-5035",
  "certificateType": "ik9hv9",
  "certificateNumber": "0gc8e3",
  "branchOrgCode": "8zr99y"
}'

Response-fields:

FieldTypeDescriptionSince
totalint64No comments found.-
currentint64No comments found.-
pageSizeint64No comments found.-
listarrayNo comments found.-
└─staffIdstring员工id-
└─accountIdstring账号-
└─displayNamestring显示名称-
└─phonestring手机号-
└─branchOrgCodestring归属组织编码-
└─branchOrgNamestring归属组织名称-
└─operatingOrgCodestring归属经营组织编码-
└─operatingOrgNamestring归属经营组织名称-
└─agreementNostring关联协议ID-
└─agreementNamestring协议名称-
└─businessLineCodestring业务线-
└─businessLineNamestring业务线名称-
└─workPositionCodestring工作岗位-
└─workPositionNamestring工作岗位名称-
└─standardPositionCodestring标准岗位-
└─standardPositionNamestring标准岗位名称-
└─supplierIdstring供应商-
└─supplierNamestring供应商名称-
└─staffStatusstring在职状态(-3入场审批中,-2审批通过待入场,-1未入场,0已入场,1已离场,2离场审批中,3审批通过待离场)-
└─certificateTypestring证件类型-
└─certificateNumberstring证件号码-
└─genderstring性别-
└─birthDatestring出生日期-
└─educationstring最高学历-
└─politicalStatusstring政治面貌-
└─projectCodestring项目id-
└─projectNamestring项目名称-
└─agreementBranchOrgCodestring协议归属组织编码-
└─agreementBranchOrgNamestring协议归属组织名称-
└─onboardDatestring入场日期-
└─offboardDatestring离场日期-
└─autoAuthorizeint32是否自动授权-
└─businessCategorystring业务分类-
└─ageint32年龄-
└─ethnicstring民族-
└─householdstring户口类型-
└─workStartDatestring开始工作时间-
└─emailstring邮箱-
└─highestEducationstring最高学历学制-
└─majorstring所学专业-
└─highestDegreestring最高学位-
└─mailingAddressstring通讯地址-
└─picturestring照片-
└─workLocationstring工作所在地-
└─workLocationNamestring工作所在地名称-
└─employmentCategorystring用工类型-
└─regionNamestring区域名称-

Response-example:

{
  "total": 0,
  "current": 449,
  "pageSize": 887,
  "list": [
    {
      "staffId": "184",
      "accountId": "184",
      "displayName": "reynaldo.beahan",
      "phone": "1-320-206-5035",
      "branchOrgCode": "8865",
      "branchOrgName": "reynaldo.beahan",
      "operatingOrgCode": "8865",
      "operatingOrgName": "reynaldo.beahan",
      "agreementNo": "v6qzkm",
      "agreementName": "reynaldo.beahan",
      "businessLineCode": "8865",
      "businessLineName": "reynaldo.beahan",
      "workPositionCode": "8865",
      "workPositionName": "reynaldo.beahan",
      "standardPositionCode": "8865",
      "standardPositionName": "reynaldo.beahan",
      "supplierId": "184",
      "supplierName": "reynaldo.beahan",
      "staffStatus": "u5mwxp",
      "certificateType": "d4w9fh",
      "certificateNumber": "yr75k3",
      "gender": "elr871",
      "birthDate": "2025-11-13",
      "education": "tec9nf",
      "politicalStatus": "vx5rzn",
      "projectCode": "8865",
      "projectName": "reynaldo.beahan",
      "agreementBranchOrgCode": "8865",
      "agreementBranchOrgName": "reynaldo.beahan",
      "onboardDate": "2025-11-13",
      "offboardDate": "2025-11-13",
      "autoAuthorize": 950,
      "businessCategory": "fbuwnl",
      "age": 5,
      "ethnic": "2dk9vs",
      "household": "6pvstd",
      "workStartDate": "2025-11-13",
      "email": "kathline.donnelly@yahoo.com",
      "highestEducation": "9s3sc1",
      "major": "a9ujk0",
      "highestDegree": "ecddgm",
      "mailingAddress": "Apt. 858 4464 Luanna Stravenue, New Lessie, IL 74374-0921",
      "picture": "goo2a8",
      "workLocation": "kjkyow",
      "workLocationName": "reynaldo.beahan",
      "employmentCategory": "t11itr",
      "regionName": "reynaldo.beahan"
    }
  ]
}

6. 员工异动列表查询接口

6.1. 接口说明

根据外包员工账号 accountId 查询该账号的全部员工异动记录。

  • 接口类型:SOFA RPC(Bolt)
  • 所属 Facade:OutsourcedStaffFacade
  • 是否分页:否
  • 排序规则:按异动创建时间 gmtCreate 倒序
  • Facade 版本:1.0.3-SNAPSHOT
6.2. 接口定义
ResultModel<List<OutStaffMovementDTO>> queryStaffMovementList(
        OutStaffIdQry outStaffIdQry
);
6.3. 请求参数

请求类型:OutStaffIdQry

字段类型必填说明
accountIdString外包员工账号,对应异动表的 account_id

校验规则:

  • accountId 不能为空;
  • 为空时返回参数校验错误:账户id不能为空

调用示例:

OutStaffIdQry request = new OutStaffIdQry()
        .setAccountId("zhangsan");

ResultModel<List<OutStaffMovementDTO>> result =
        outsourcedStaffFacade.queryStaffMovementList(request);
6.4. 返回结果

返回类型:

ResultModel<List<OutStaffMovementDTO>>

ResultModeldata 字段为员工异动列表。没有异动记录时返回成功的空列表 [],不会返回 null

6.5. 异动核心字段
字段类型说明
staffIdString异动记录标识,沿用现有异动列表转换规则
accountIdString外包员工账号
displayNameString员工姓名
phoneString异动记录中的手机号
historyPhoneString历史手机号
staffStatusString员工在职状态
requestIdString审批请求 ID
flowInstanceIdString流程实例 ID
sourceFromString数据来源
onboardDateDate入场日期
offboardDateDate离场日期
agreementStartDateDate本次任职使用协议的开始日期
agreementEndDateDate本次任职使用协议的结束日期
gmtCreateDate异动记录创建时间
modifierString最后操作人,能够查询到名称时格式为“名称-账号”
gmtModifiedDate异动时间,当前与异动记录创建时间一致
creatorString员工创建人
descriptionString工作内容描述
relatedAccountIdString历史内部账号关联;异动表不保存该字段,固定为空
6.6. 组织字段
字段类型说明
branchOrgCodeString归属组织编码
branchOrgNameString归属组织名称
operatingOrgCodeString归属经营组织编码
operatingOrgNameString归属经营组织名称
branchCompanySimpleNameString归属分公司简称
branchCenterSimpleNameString归属中支公司简称
branchSimpleNameString归属支公司简称
workLocationString工作所在地编码
workLocationNameString工作所在地名称
regionNameString区域名称
6.7. 协议、项目及岗位字段
字段类型说明
agreementNoString协议编号
agreementNameString协议名称
agreementBranchOrgCodeString协议归属组织编码
agreementBranchOrgNameString协议归属组织名称
supplierIdString供应商 ID
supplierNameString供应商名称
projectCodeString项目编号
projectNameString项目名称
businessLineCodeString业务线编码
businessLineNameString业务线名称
workPositionCodeString工作岗位编码
workPositionNameString工作岗位名称
standardPositionCodeString标准岗位编码
standardPositionNameString标准岗位名称
autoAuthorizeString是否自动授权:0 否、1
positionClassificationString工作岗位分类
professionalGradeString专业层次
businessCategoryString业务分类
employmentCategoryString用工类型
6.8. 员工个人信息字段
字段类型说明
certificateTypeString证件类型
certificateNumberString证件号码
genderString性别
birthDateString出生日期,格式通常为 yyyy-MM-dd
ageInteger根据出生日期动态计算的年龄
educationString最高学历
highestEducationString最高学历学制
majorString所学专业
highestDegreeString最高学位
politicalStatusString政治面貌
ethnicString民族
householdString户口类型
workStartDateString开始工作时间
emailString邮箱
mailingAddressString通讯地址
pictureString照片信息
6.9. 在职状态说明
说明
-3入场审批中
-2审批通过待入场
-1待入场
0已入场
1已离场
2离场审批中
3审批通过待离场
6.10. 返回数据示例

以下仅展示 ResultModel.data

[
  {
    "staffId": "190001234567890001",
    "accountId": "zhangsan",
    "displayName": "张三",
    "phone": "13800000000",
    "staffStatus": "0",
    "branchOrgCode": "ORG001",
    "branchOrgName": "浙江分公司",
    "operatingOrgCode": "ORG001",
    "operatingOrgName": "浙江分公司",
    "branchCompanySimpleName": "浙江",
    "agreementNo": "AG20260001",
    "agreementName": "2026年度技术服务协议",
    "supplierId": "SUP001",
    "supplierName": "示例供应商",
    "projectCode": "PROJECT001",
    "projectName": "核心系统建设项目",
    "businessLineCode": "BL001",
    "businessLineName": "数字科技",
    "workPositionCode": "POSITION001",
    "workPositionName": "Java开发工程师",
    "agreementStartDate": "2026-01-01T00:00:00.000+08:00",
    "agreementEndDate": "2026-12-31T00:00:00.000+08:00",
    "gmtCreate": "2026-07-20T10:00:00.000+08:00",
    "modifier": "李四-lisi",
    "gmtModified": "2026-07-20T10:00:00.000+08:00",
    "relatedAccountId": null
  }
]