52 lines
1.6 KiB
Java
52 lines
1.6 KiB
Java
|
|
package com.engine.salary.util;
|
||
|
|
|
||
|
|
import weaver.systeminfo.SystemEnv;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @description: 多语言工具类
|
||
|
|
* @author: xiajun
|
||
|
|
* @modified By: xiajun
|
||
|
|
* @date: Created in 10/19/21 4:18 PM
|
||
|
|
* @version:v1.0
|
||
|
|
*/
|
||
|
|
public class SalaryI18nUtil {
|
||
|
|
|
||
|
|
// /**
|
||
|
|
// * 获取多语言信息
|
||
|
|
// *
|
||
|
|
// * @param labelId 多语言对应的labelId
|
||
|
|
// * @param defaultLabel 默认中文
|
||
|
|
// * @return
|
||
|
|
// */
|
||
|
|
// public static String getI18nLabel(int labelId, String defaultLabel) {
|
||
|
|
// return SystemEnv.getHtmlLabelName(labelId, 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);
|
||
|
|
// }
|
||
|
|
}
|