private void appendModifytoSQL(List<Modify> modifies, StringBuilder sb, List<Object> params) {
        for (Modify modify : modifies) {
            sb.append(modify.getColumn());

            Object value = modify.getValue();
            if (value instanceof IncrParam) {
                sb.append("=(").append(modify.getColumn()).append("+?),");
                params.add(((IncrParam) value).getValue());
            } else if (value instanceof ExpressionParam) {
                sb.append(',');
            } else {
                sb.append("=?,");
                params.add(value);
            }
        }
    }
private void appendModifytoSQL ( List < Modify > modifies , StringBuilder sb , List < Object > params ) { for ( Modify modify : modifies ) { sb . append ( modify . getColumn ( ) ) ; Object value = modify . getValue ( ) ; if ( value instanceof IncrParam ) { sb . append ( "=(" ) . append ( modify . getColumn ( ) ) . append ( "+?)," ) ; params . add ( ( ( IncrParam ) value ) . getValue ( ) ) ; } else if ( value instanceof ExpressionParam ) { sb . append ( ',' ) ; } else { sb . append ( "=?," ) ; params . add ( value ) ; } } }
@param modifies
@param sb
@param params