package com.vci.client.framework.systemConfig.stafforgmanage; import java.util.HashMap; public class SecretLevelConstants { public static HashMap SECRET_LEVEL = new HashMap(); static { try { SECRET_LEVEL.put("30", "一般1"); SECRET_LEVEL.put("20", "内部"); SECRET_LEVEL.put("40", "重要"); SECRET_LEVEL.put("50", "核心"); } catch(Exception e) { e.printStackTrace(); } } public static String getSecretLevelDescript(String level) { String value = SECRET_LEVEL.get(level); if (value == null) { value = level; } return value; } }