---
title: "6. 人员配置缓存"
docId: "397568499515392000"
source: "https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/repository/91f5067f-775e-48f4-93a2-ce84ca0b9c2e/doc/397568499515392000"
---
1. 司龄/工龄计算方式配置
  
  ```java
  com.weaver.common.hrm.cache.HrmConfigSetCache#getCompanyYearSwitch
  ```
  
    - 入参
      
      | 参数 | 类型 | 说明 |
      | --- | --- | --- |
      | tenantKey | string | 租户 |
      |  |  |  |
    - 出参（string）
      
          - month 按月计算
          - day 按天计算
