protected String constructQueryUrl(String query, String url, Map<String, Object> condition) {
        String modQuery = query;
        for ( String condKey : condition.keySet() ) {
            String condValue = (String) condition.get(condKey);
            String encodedCondValue = StringUtil.encodeUrl(condValue);
            modQuery = modQuery.replace("${" + condKey + "}", encodedCondValue);
        }

        return url + modQuery;
    }