def _convertStr2Other(value):
    """
    数据转换,把字符串的结果进行类型转换尝试,转换成为 int float boolean
    :param value:
    :return:
    """
    if value is None:
        return None
    if isinstance(value, bool) or isinstance(value, int) or isinstance(value,
        float):
        return value
    if 'true' == value.lower():
        return True
    elif 'false' == value.lower():
        return False
    try:
        return int(value)
    except ValueError:
        try:
            return float(value)
        except ValueError:
            return value
