package com.engine.organization.util; /** * @Author weaver_cl * @description: 多语言工具类 * @Date 2022/3/9 * @Version V1.0 **/ public class HrmI18nUtil { /** * 获取多语言信息 * * @param labelId 多语言对应的labelId * @param defaultLabel 默认中文 * @return */ public static String getI18nLabel(int labelId, String defaultLabel) { return defaultLabel; } // // /** // * 获取多语言信息 // * // * @param tenantKey 租户key // * @param employeeId 人员id // * @param labelId 多语言对应的labelId // * @param defaultLabel 默认中文 // * @return // */ // public static String getI18nLabel(String tenantKey, Long employeeId, int labelId, String defaultLabel) { // int languageId = I18nLanguageUtil.getLangId(employeeId); // return SystemEnv.getHtmlLabelName(labelId, languageId, tenantKey, defaultLabel); // } // // /** // * 获取多语言信息 // * // * @param simpleEmployee 租户信息 // * @param labelId 多语言对应的labelId // * @param defaultLabel 默认中文 // * @return // */ // public static String getI18nLabel(SimpleEmployee simpleEmployee, int labelId, String defaultLabel) { // int languageId = I18nLanguageUtil.getLangId(simpleEmployee.getEmployeeId()); // return SystemEnv.getHtmlLabelName(labelId, languageId, simpleEmployee.getTenantKey(), defaultLabel); // } }