xufenglei
2018-02-06 5b0347a811a6c948defb5320e71c43173280dfc2
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
31
package com.moral.common.bean;
 
/**
 * 系统常量.
 */
public class Constants {
    
    /** The Constant IS_DELETE_TRUE. */
    public static final String IS_DELETE_TRUE = "1";
    
    /** The Constant IS_DELETE_FALSE. */
    public static final String IS_DELETE_FALSE = "0";
    
    /** The Constant NULL_VALUE. */
    public static final String NULL_VALUE = "N/V";
    
    public static final String IS_USED_FALSE = "0";
 
    public static final String IS_USED_TRUE = "1";
    private static final Integer[] specialOrgIds = new Integer[]{-1};
 
    public static final Boolean isNotSpecialOrgId(Integer orgId) {
        for(int i = 0; i < specialOrgIds.length; ++i) {
            if (specialOrgIds[i].equals(orgId)) {
                return false;
            }
        }
 
        return true;
    }
}