private void execute(Sql sqlObj, Map<String, Object> vars, Map<String, Object> params) {
        if (vars != null)
            sqlObj.vars().putAll(vars);

        if (params != null) {
            Map<String, Object> newParams = paramProcess(params);
            sqlObj.params().putAll(newParams);
        }

        dao().execute(sqlObj);
    }
private void execute(Sql sqlObj, Map<String, Object> vars, Map<String, Object> params) {
        if (vars != null)
            sqlObj.vars().putAll(vars);

        if (params != null) {
            Map<String, Object> newParams = paramProcess(params);
            sqlObj.params().putAll(newParams);
        }

        dao().execute(sqlObj);
    }
private void execute ( Sql sqlObj , Map < String , Object > vars , Map < String , Object > params ) { if ( vars != null ) sqlObj . vars ( ) . putAll ( vars ) ; if ( params != null ) { Map < String , Object > newParams = paramProcess ( params ) ; sqlObj . params ( ) . putAll ( newParams ) ; } dao ( ) . execute ( sqlObj ) ; }
设置sql参数并执行sql。
设置sql参数并执行sql。