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; 
 | 
    } 
 | 
} 
 |