public static StringBuffer makeConditionPageByQueryid( String queryid, LinkedCaseInsensitiveMap<Object> param) throws SuperQueryException { ConditionBean condition; StringBuffer ret = new StringBuffer(); try { condition = new ConditionBean(queryid, param); ret.append(condition.toHtml()); } catch (SuperQueryException e) { throw e; } return wrapByHtmlBody(ret, QueryconfLoader.instance().getConf(queryid).getBo().getQueryname()); }
// =================================================================================== // DisplaySql // ========== public static String convertConditionBean2DisplaySql( SqlAnalyzerFactory factory, ConditionBean cb, String logDateFormat, String logTimestampFormat) { final String twoWaySql = cb.getSqlClause().getClause(); return SqlAnalyzer.convertTwoWaySql2DisplaySql( factory, twoWaySql, cb, logDateFormat, logTimestampFormat); }