田源
2024-03-07 4b4083fd73dc27ece42f4835483565eef0e4f608
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.vci.client.framework.systemConfig.stafforgmanage;
 
import java.util.HashMap;
 
public class SecretLevelConstants {
 
    public static HashMap<String, String> SECRET_LEVEL = new HashMap<String, String>();
    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;
    }
}