bootiful-sqltemplate-core/src/main/java/ninja/cero/sqltemplate/core/parameter/BeanParameter.java
@Override
    public Object getValue(String paramName) {
        Object value = null;
        if (privateFields.contains(paramName)) {
            value = beanWrapper.getPropertyValue(paramName);
        } else if (publicFeilds.containsKey(paramName)) {
            Field field = publicFeilds.get(paramName);
            try {
                value = field.get(entity);
            } catch (IllegalAccessException e) {
                throw new IllegalArgumentException(e);
            }
        }

        if (value == null) {
            return null;
        }

        return Jsr310JdbcUtils.convertIfNecessary(value, zoneId);
    }
@Override
    public Object getValue(String paramName) {
        Object value = null;
        if (privateFields.contains(paramName)) {
            value = beanWrapper.getPropertyValue(paramName);
        } else if (publicFeilds.containsKey(paramName)) {
            Field field = publicFeilds.get(paramName);
            try {
                value = field.get(entity);
            } catch (IllegalAccessException e) {
                throw new IllegalArgumentException(e);
            }
        }

        if (value == null) {
            return null;
        }

        return Jsr310JdbcUtils.convertIfNecessary(value, zoneId);
    }
{@inheritDoc}