public static Boolean getBoolean(Object obj)
    {
        if (isEmpty(obj))
        {
            throw new RuntimeException("参数不能为空");
        }
        if (String.valueOf(obj).equals("1"))
        {
            return true;
        }
        else if (String.valueOf(obj).equals("true"))
        {
            return true;
        }
        else
        {
            return false;
        }
    }