private BigInteger toBigInteger(Object value) {
		if (value instanceof Long) {
			return BigInteger.valueOf((Long) value);
		} else if(value instanceof Boolean) {
			return BigInteger.valueOf((boolean)value ? 1 : 0);
		}
		final String valueStr = convertToStr(value);
		if (StrUtil.isBlank(valueStr)) {
			return null;
		}
		return new BigInteger(valueStr);
	}
private BigInteger toBigInteger ( Object value ) { if ( value instanceof Long ) { return BigInteger . valueOf ( ( Long ) value ) ; } else if ( value instanceof Boolean ) { return BigInteger . valueOf ( ( boolean ) value ? 1 : 0 ) ; } final String valueStr = convertToStr ( value ) ; if ( StrUtil . isBlank ( valueStr ) ) { return null ; } return new BigInteger ( valueStr ) ; }
转换为BigInteger<br>
如果给定的值为空，或者转换失败，返回默认值<br>
转换失败不会报错

@param value 被转换的值
@return 结果